diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/cpu_switch.S | 8 | ||||
-rw-r--r-- | sys/amd64/amd64/swtch.s | 8 | ||||
-rw-r--r-- | sys/i386/i386/swtch.s | 8 |
3 files changed, 0 insertions, 24 deletions
diff --git a/sys/amd64/amd64/cpu_switch.S b/sys/amd64/amd64/cpu_switch.S index 57ba94b..aaf0ec2 100644 --- a/sys/amd64/amd64/cpu_switch.S +++ b/sys/amd64/amd64/cpu_switch.S @@ -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 */ diff --git a/sys/amd64/amd64/swtch.s b/sys/amd64/amd64/swtch.s index 57ba94b..aaf0ec2 100644 --- a/sys/amd64/amd64/swtch.s +++ b/sys/amd64/amd64/swtch.s @@ -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 */ diff --git a/sys/i386/i386/swtch.s b/sys/i386/i386/swtch.s index 57ba94b..aaf0ec2 100644 --- a/sys/i386/i386/swtch.s +++ b/sys/i386/i386/swtch.s @@ -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 */ |