summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/apic_vector.S
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-07-10 01:02:59 +0000
committerpeter <peter@FreeBSD.org>2003-07-10 01:02:59 +0000
commitfb79192cce2b536913cbaeba392acf00eb222e2c (patch)
treeb9debf25fcea7d292e9b05c04b80477e99416e99 /sys/amd64/amd64/apic_vector.S
parent3879f4cf2e9370d23d95379a66f17b787ac3b307 (diff)
downloadFreeBSD-src-fb79192cce2b536913cbaeba392acf00eb222e2c.zip
FreeBSD-src-fb79192cce2b536913cbaeba392acf00eb222e2c.tar.gz
unifdef -DLAZY_SWITCH and start to tidy up the associated glue.
Diffstat (limited to 'sys/amd64/amd64/apic_vector.S')
-rw-r--r--sys/amd64/amd64/apic_vector.S4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/amd64/amd64/apic_vector.S b/sys/amd64/amd64/apic_vector.S
index 9230caf..bb0055f 100644
--- a/sys/amd64/amd64/apic_vector.S
+++ b/sys/amd64/amd64/apic_vector.S
@@ -3,8 +3,6 @@
* $FreeBSD$
*/
-#include "opt_swtch.h"
-
#include <machine/apic.h>
#include <machine/smp.h>
@@ -643,7 +641,6 @@ IDTVEC(rendezvous)
POP_FRAME
iret
-#ifdef LAZY_SWITCH
/*
* Clean up when we lose out on the lazy context switch optimization.
* ie: when we are about to release a PTD but a cpu is still borrowing it.
@@ -662,7 +659,6 @@ IDTVEC(lazypmap)
movl $0, lapic+LA_EOI /* End Of Interrupt to APIC */
POP_FRAME
iret
-#endif
#endif /* SMP */
.data
OpenPOWER on IntegriCloud