mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
3 changed files with 0 additions and 24 deletions
|
|
@ -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 a new issue