aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/hw_irq.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-08-14 04:55:26 -0400
committerIngo Molnar <mingo@elte.hu>2008-08-14 04:55:26 -0400
commitd4439087d316613548c70472291bf4ca646ce24b (patch)
tree4819f39cbbfcc2ed9c9f85c7a91cbf142f5b02d4 /include/asm-x86/hw_irq.h
parent26d809af6397ce5c37f5c44d89734d19cce1ad25 (diff)
parent30a2f3c60a84092c8084dfe788b710f8d0768cd4 (diff)
Merge commit 'v2.6.27-rc3' into x86/xsave
Conflicts: arch/x86/kernel/genapic_64.c include/asm-x86/kvm_host.h Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/hw_irq.h')
-rw-r--r--include/asm-x86/hw_irq.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/asm-x86/hw_irq.h b/include/asm-x86/hw_irq.h
index 12f12b8eebfe..2905e93ff959 100644
--- a/include/asm-x86/hw_irq.h
+++ b/include/asm-x86/hw_irq.h
@@ -100,9 +100,17 @@ extern void (*const interrupt[NR_IRQS])(void);
100#else 100#else
101typedef int vector_irq_t[NR_VECTORS]; 101typedef int vector_irq_t[NR_VECTORS];
102DECLARE_PER_CPU(vector_irq_t, vector_irq); 102DECLARE_PER_CPU(vector_irq_t, vector_irq);
103extern spinlock_t vector_lock;
104#endif 103#endif
105extern void setup_vector_irq(int cpu); 104
105#if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_X86_64)
106extern void lock_vector_lock(void);
107extern void unlock_vector_lock(void);
108extern void __setup_vector_irq(int cpu);
109#else
110static inline void lock_vector_lock(void) {}
111static inline void unlock_vector_lock(void) {}
112static inline void __setup_vector_irq(int cpu) {}
113#endif
106 114
107#endif /* !ASSEMBLY_ */ 115#endif /* !ASSEMBLY_ */
108 116