aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/apic_64.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-01-30 07:30:14 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:30:14 -0500
commitcff90dbfe41f2c8eabe2d0a7e379829f4a9980af (patch)
tree966526556fb19f10d9ad6d66b65da67ab4412328 /include/asm-x86/apic_64.h
parent2d539553c96771bc8f77156f27500d35e1fe114c (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.h39
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
67extern int get_maxlvt (void); 67extern int get_maxlvt(void);
68extern void clear_local_APIC (void); 68extern void clear_local_APIC(void);
69extern void connect_bsp_APIC (void); 69extern void connect_bsp_APIC(void);
70extern void disconnect_bsp_APIC (int virt_wire_setup); 70extern void disconnect_bsp_APIC(int virt_wire_setup);
71extern void disable_local_APIC (void); 71extern void disable_local_APIC(void);
72extern void lapic_shutdown (void); 72extern void lapic_shutdown(void);
73extern int verify_local_APIC (void); 73extern int verify_local_APIC(void);
74extern void cache_APIC_registers (void); 74extern void cache_APIC_registers(void);
75extern void sync_Arb_IDs (void); 75extern void sync_Arb_IDs(void);
76extern void init_bsp_APIC (void); 76extern void init_bsp_APIC(void);
77extern void setup_local_APIC (void); 77extern void setup_local_APIC(void);
78extern void init_apic_mappings (void); 78extern void init_apic_mappings(void);
79extern void smp_local_timer_interrupt (void); 79extern void smp_local_timer_interrupt(void);
80extern void setup_boot_APIC_clock (void); 80extern void setup_boot_APIC_clock(void);
81extern void setup_secondary_APIC_clock (void); 81extern void setup_secondary_APIC_clock(void);
82extern int APIC_init_uniprocessor (void); 82extern int APIC_init_uniprocessor(void);
83extern void setup_apic_routing(void); 83extern void setup_apic_routing(void);
84 84
85extern void setup_APIC_extended_lvt(unsigned char lvt_off, unsigned char vector, 85extern 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
88extern int apic_is_clustered_box(void); 88extern 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
99extern unsigned boot_cpu_id; 92extern unsigned boot_cpu_id;