Now that TPR isn't bogusly raised at boot, there is no need to clear
it at context switch.
This commit is contained in:
parent
e0d92cd4d9
commit
2fbe601a5d
@ -238,14 +238,6 @@ sw1b:
|
||||
pushl PCB_PSL(%edx)
|
||||
popfl
|
||||
|
||||
#if defined(SMP) && defined(GRAB_LOPRIO)
|
||||
/* Hold LOPRIO for interrupts. */
|
||||
#ifdef CHEAP_TPR
|
||||
movl $0, lapic+LA_TPR
|
||||
#else
|
||||
andl $~APIC_TPR_PRIO, lapic+LA_TPR
|
||||
#endif
|
||||
#endif
|
||||
movl %edx, PCPU(CURPCB)
|
||||
movl %ecx, PCPU(CURTHREAD) /* into next thread */
|
||||
|
||||
|
@ -238,14 +238,6 @@ sw1b:
|
||||
pushl PCB_PSL(%edx)
|
||||
popfl
|
||||
|
||||
#if defined(SMP) && defined(GRAB_LOPRIO)
|
||||
/* Hold LOPRIO for interrupts. */
|
||||
#ifdef CHEAP_TPR
|
||||
movl $0, lapic+LA_TPR
|
||||
#else
|
||||
andl $~APIC_TPR_PRIO, lapic+LA_TPR
|
||||
#endif
|
||||
#endif
|
||||
movl %edx, PCPU(CURPCB)
|
||||
movl %ecx, PCPU(CURTHREAD) /* into next thread */
|
||||
|
||||
|
@ -238,14 +238,6 @@ sw1b:
|
||||
pushl PCB_PSL(%edx)
|
||||
popfl
|
||||
|
||||
#if defined(SMP) && defined(GRAB_LOPRIO)
|
||||
/* Hold LOPRIO for interrupts. */
|
||||
#ifdef CHEAP_TPR
|
||||
movl $0, lapic+LA_TPR
|
||||
#else
|
||||
andl $~APIC_TPR_PRIO, lapic+LA_TPR
|
||||
#endif
|
||||
#endif
|
||||
movl %edx, PCPU(CURPCB)
|
||||
movl %ecx, PCPU(CURTHREAD) /* into next thread */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user