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
This commit is contained in:
parent
94216379e3
commit
d01404c828
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user