diff options
author | peter <peter@FreeBSD.org> | 2003-01-23 01:01:35 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-01-23 01:01:35 +0000 |
commit | 521e2f4ce6e5420c54f62885b331170b5deb65be (patch) | |
tree | 3daeee7f2f0d17dc5d510b80cd218598f021353b | |
parent | e234c011df52abfffb40bf79a0d7b016d699d906 (diff) | |
download | FreeBSD-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.
-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 */ |