diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-01-30 07:30:14 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:30:14 -0500 |
commit | cff90dbfe41f2c8eabe2d0a7e379829f4a9980af (patch) | |
tree | 966526556fb19f10d9ad6d66b65da67ab4412328 /include/asm-x86/apic_64.h | |
parent | 2d539553c96771bc8f77156f27500d35e1fe114c (diff) |
x86: prepare unification of include/asm-x86/apic_32/64.h
White space and coding style clenaup.
Move the K8 local apic defines to apicdef.h, where they belong
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/apic_64.h')
-rw-r--r-- | include/asm-x86/apic_64.h | 39 |
1 files changed, 16 insertions, 23 deletions
diff --git a/include/asm-x86/apic_64.h b/include/asm-x86/apic_64.h index 2747a11a2b19..9a0ec02a49a1 100644 --- a/include/asm-x86/apic_64.h +++ b/include/asm-x86/apic_64.h | |||
@@ -64,22 +64,22 @@ static inline void ack_APIC_irq(void) | |||
64 | apic_write(APIC_EOI, 0); | 64 | apic_write(APIC_EOI, 0); |
65 | } | 65 | } |
66 | 66 | ||
67 | extern int get_maxlvt (void); | 67 | extern int get_maxlvt(void); |
68 | extern void clear_local_APIC (void); | 68 | extern void clear_local_APIC(void); |
69 | extern void connect_bsp_APIC (void); | 69 | extern void connect_bsp_APIC(void); |
70 | extern void disconnect_bsp_APIC (int virt_wire_setup); | 70 | extern void disconnect_bsp_APIC(int virt_wire_setup); |
71 | extern void disable_local_APIC (void); | 71 | extern void disable_local_APIC(void); |
72 | extern void lapic_shutdown (void); | 72 | extern void lapic_shutdown(void); |
73 | extern int verify_local_APIC (void); | 73 | extern int verify_local_APIC(void); |
74 | extern void cache_APIC_registers (void); | 74 | extern void cache_APIC_registers(void); |
75 | extern void sync_Arb_IDs (void); | 75 | extern void sync_Arb_IDs(void); |
76 | extern void init_bsp_APIC (void); | 76 | extern void init_bsp_APIC(void); |
77 | extern void setup_local_APIC (void); | 77 | extern void setup_local_APIC(void); |
78 | extern void init_apic_mappings (void); | 78 | extern void init_apic_mappings(void); |
79 | extern void smp_local_timer_interrupt (void); | 79 | extern void smp_local_timer_interrupt(void); |
80 | extern void setup_boot_APIC_clock (void); | 80 | extern void setup_boot_APIC_clock(void); |
81 | extern void setup_secondary_APIC_clock (void); | 81 | extern void setup_secondary_APIC_clock(void); |
82 | extern int APIC_init_uniprocessor (void); | 82 | extern int APIC_init_uniprocessor(void); |
83 | extern void setup_apic_routing(void); | 83 | extern void setup_apic_routing(void); |
84 | 84 | ||
85 | extern void setup_APIC_extended_lvt(unsigned char lvt_off, unsigned char vector, | 85 | extern void setup_APIC_extended_lvt(unsigned char lvt_off, unsigned char vector, |
@@ -87,13 +87,6 @@ extern void setup_APIC_extended_lvt(unsigned char lvt_off, unsigned char vector, | |||
87 | 87 | ||
88 | extern int apic_is_clustered_box(void); | 88 | extern int apic_is_clustered_box(void); |
89 | 89 | ||
90 | #define K8_APIC_EXT_LVT_BASE 0x500 | ||
91 | #define K8_APIC_EXT_INT_MSG_FIX 0x0 | ||
92 | #define K8_APIC_EXT_INT_MSG_SMI 0x2 | ||
93 | #define K8_APIC_EXT_INT_MSG_NMI 0x4 | ||
94 | #define K8_APIC_EXT_INT_MSG_EXT 0x7 | ||
95 | #define K8_APIC_EXT_LVT_ENTRY_THRESHOLD 0 | ||
96 | |||
97 | #define ARCH_APICTIMER_STOPS_ON_C3 1 | 90 | #define ARCH_APICTIMER_STOPS_ON_C3 1 |
98 | 91 | ||
99 | extern unsigned boot_cpu_id; | 92 | extern unsigned boot_cpu_id; |