summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-01-23 01:01:35 +0000
committerpeter <peter@FreeBSD.org>2003-01-23 01:01:35 +0000
commit521e2f4ce6e5420c54f62885b331170b5deb65be (patch)
tree3daeee7f2f0d17dc5d510b80cd218598f021353b /sys
parente234c011df52abfffb40bf79a0d7b016d699d906 (diff)
downloadFreeBSD-src-521e2f4ce6e5420c54f62885b331170b5deb65be.zip
FreeBSD-src-521e2f4ce6e5420c54f62885b331170b5deb65be.tar.gz
Now that TPR isn't bogusly raised at boot, there is no need to clear
it at context switch.
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/cpu_switch.S8
-rw-r--r--sys/amd64/amd64/swtch.s8
-rw-r--r--sys/i386/i386/swtch.s8
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 */
OpenPOWER on IntegriCloud