From 0876f23dd1c31b5171cb5264c0fb715675a836ea Mon Sep 17 00:00:00 2001 From: jhb Date: Tue, 30 Oct 2001 00:19:42 +0000 Subject: 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 --- sys/i386/i386/swtch.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/i386') 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 -- cgit v1.1