x86_64/ioapic: Cleanup header inclusion
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 9 Jun 2011 09:29:22 +0000 (17:29 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 9 Jun 2011 09:29:22 +0000 (17:29 +0800)
sys/platform/pc64/apic/ioapic.c

index 63e084d..5b0daa7 100644 (file)
 #include <sys/kernel.h>
 #include <sys/bus.h>
 #include <sys/machintr.h>
-#include <machine/globaldata.h>
-#include <machine/smp.h>
-#include <machine/md_var.h>
+#include <sys/thread2.h>
+
 #include <machine/pmap.h>
+#include <machine_base/icu/icu_var.h>
 #include <machine_base/apic/lapic.h>
 #include <machine_base/apic/ioapic.h>
 #include <machine_base/apic/ioapic_abi.h>
-#include <machine_base/icu/icu_var.h>
-#include <machine/segments.h>
-#include <sys/thread2.h>
-#include <vm/pmap.h>
-
-#include <machine/intr_machdep.h>
-
-#include "apicvar.h"
 
 #define IOAPIC_COUNT_MAX       16
 #define IOAPIC_ID_MASK         (IOAPIC_COUNT_MAX - 1)