summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/amd64/amd64/locore.S3
-rw-r--r--sys/amd64/amd64/locore.s3
-rw-r--r--sys/i386/i386/locore.s3
3 files changed, 3 insertions, 6 deletions
diff --git a/sys/amd64/amd64/locore.S b/sys/amd64/amd64/locore.S
index 54ec9b1c56dd..ae2a665caf39 100644
--- a/sys/amd64/amd64/locore.S
+++ b/sys/amd64/amd64/locore.S
@@ -225,10 +225,9 @@ NON_GPROF_ENTRY(btext)
movb $1,R(_bdb_exists)
1:
#endif
-#endif /* PC98 */
-
/* Tell the bios to warmboot next time */
movw $0x1234,0x472
+#endif /* PC98 */
/* Set up a real frame in case the double return in newboot is executed. */
pushl %ebp
diff --git a/sys/amd64/amd64/locore.s b/sys/amd64/amd64/locore.s
index 54ec9b1c56dd..ae2a665caf39 100644
--- a/sys/amd64/amd64/locore.s
+++ b/sys/amd64/amd64/locore.s
@@ -225,10 +225,9 @@ NON_GPROF_ENTRY(btext)
movb $1,R(_bdb_exists)
1:
#endif
-#endif /* PC98 */
-
/* Tell the bios to warmboot next time */
movw $0x1234,0x472
+#endif /* PC98 */
/* Set up a real frame in case the double return in newboot is executed. */
pushl %ebp
diff --git a/sys/i386/i386/locore.s b/sys/i386/i386/locore.s
index 54ec9b1c56dd..ae2a665caf39 100644
--- a/sys/i386/i386/locore.s
+++ b/sys/i386/i386/locore.s
@@ -225,10 +225,9 @@ NON_GPROF_ENTRY(btext)
movb $1,R(_bdb_exists)
1:
#endif
-#endif /* PC98 */
-
/* Tell the bios to warmboot next time */
movw $0x1234,0x472
+#endif /* PC98 */
/* Set up a real frame in case the double return in newboot is executed. */
pushl %ebp