From: Sepherosa Ziehau Date: Sun, 24 Apr 2011 11:55:23 +0000 (+0800) Subject: x86_64/mp_machdep.c: Remove unused code X-Git-Tag: v2.12.0~739 X-Git-Url: https://gitweb.dragonflybsd.org/~nant/dragonfly.git/commitdiff_plain/af5103f853ce0190778f09f1d4d2c1ecd7ca2e13 x86_64/mp_machdep.c: Remove unused code --- diff --git a/sys/platform/pc64/x86_64/mp_machdep.c b/sys/platform/pc64/x86_64/mp_machdep.c index 3a99fa8e4c..191123e988 100644 --- a/sys/platform/pc64/x86_64/mp_machdep.c +++ b/sys/platform/pc64/x86_64/mp_machdep.c @@ -67,8 +67,6 @@ #include #include /* IPIs */ -#define FIXUP_EXTRA_APIC_INTS 8 /* additional entries we may create */ - #define WARMBOOT_TARGET 0 #define WARMBOOT_OFF (KERNBASE + 0x0467) #define WARMBOOT_SEG (KERNBASE + 0x0469) @@ -689,27 +687,6 @@ mptable_search_sig(u_int32_t target, int count) return ret; } - -typedef struct BUSDATA { - u_char bus_id; - enum busTypes bus_type; -} bus_datum; - -typedef struct INTDATA { - u_char int_type; - u_short int_flags; - u_char src_bus_id; - u_char src_bus_irq; - u_char dst_apic_id; - u_char dst_apic_int; - u_char int_vector; -} io_int, local_int; - -typedef struct BUSTYPENAME { - u_char type; - char name[7]; -} bus_type_name; - static int processor_entry (const struct PROCENTRY *entry, int cpu); /*