summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-10-30 00:19:42 +0000
committerjhb <jhb@FreeBSD.org>2001-10-30 00:19:42 +0000
commit0876f23dd1c31b5171cb5264c0fb715675a836ea (patch)
tree85101956f6db6742bc813d20e231e27f9ddd9cfb /sys/i386
parentd35b5f81fd6c84de34f733a8d626868926b08bcb (diff)
downloadFreeBSD-src-0876f23dd1c31b5171cb5264c0fb715675a836ea.zip
FreeBSD-src-0876f23dd1c31b5171cb5264c0fb715675a836ea.tar.gz
Fix a typo in comment and #ifdef fixes: GRAP_PRIO -> GRAB_PRIO so that
x86 SMP kernels actually boot again to single user mode. Pointy hat to: jhb Noticed by: jlemon
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/swtch.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/i386/swtch.s b/sys/i386/i386/swtch.s
index 4fa6798..14e4495 100644
--- a/sys/i386/i386/swtch.s
+++ b/sys/i386/i386/swtch.s
@@ -228,7 +228,7 @@ sw1b:
movl PCB_EIP(%edx),%eax
movl %eax,(%esp)
-#if defined(SMP) && defined(GRAP_LOPRIO)
+#if defined(SMP) && defined(GRAB_LOPRIO)
/* Hold LOPRIO for interrupts. */
#ifdef CHEAP_TPR
movl $0, lapic+LA_TPR
OpenPOWER on IntegriCloud