summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrnordier <rnordier@FreeBSD.org>2001-05-27 20:15:10 +0000
committerrnordier <rnordier@FreeBSD.org>2001-05-27 20:15:10 +0000
commit83f67b8f31f7864baf3998922833c641684ff0f0 (patch)
tree5e714053849b6e51c1e62841d5504b4bfebc3eea
parente39caed479d72c771458abfebfce28978b84f0d4 (diff)
downloadFreeBSD-src-83f67b8f31f7864baf3998922833c641684ff0f0.zip
FreeBSD-src-83f67b8f31f7864baf3998922833c641684ff0f0.tar.gz
Fix reboot buglet when BOOT_BTX_NOHANG is defined.
Submitted by: Umesh Krishnaswamy <umesh@juniper.net>
-rw-r--r--sys/boot/i386/btx/btx/btx.S2
-rw-r--r--sys/boot/i386/btx/btx/btx.s2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/i386/btx/btx/btx.S b/sys/boot/i386/btx/btx/btx.S
index 334bea6..04bbdca 100644
--- a/sys/boot/i386/btx/btx/btx.S
+++ b/sys/boot/i386/btx/btx/btx.S
@@ -862,7 +862,7 @@ ifdef(`PAGING',`
')
popl %eax # Call
call *%eax # program
-intx30.1: incb %ss:btx_hdr+0x7 # Flag reboot
+intx30.1: orb $0x1,%ss:btx_hdr+0x7 # Flag reboot
jmp exit # Exit
#
# Dump structure [EBX] to [EDI], using format string [ESI].
diff --git a/sys/boot/i386/btx/btx/btx.s b/sys/boot/i386/btx/btx/btx.s
index 334bea6..04bbdca 100644
--- a/sys/boot/i386/btx/btx/btx.s
+++ b/sys/boot/i386/btx/btx/btx.s
@@ -862,7 +862,7 @@ ifdef(`PAGING',`
')
popl %eax # Call
call *%eax # program
-intx30.1: incb %ss:btx_hdr+0x7 # Flag reboot
+intx30.1: orb $0x1,%ss:btx_hdr+0x7 # Flag reboot
jmp exit # Exit
#
# Dump structure [EBX] to [EDI], using format string [ESI].
OpenPOWER on IntegriCloud