aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/hw_irq.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-08-14 08:58:01 -0400
committerIngo Molnar <mingo@elte.hu>2008-08-14 08:58:01 -0400
commit51ca3c679194e7435c25b8e77b0a73c597e41ae9 (patch)
treea681dca369607ab0f371d5246b0f75140b860a8a /include/asm-x86/hw_irq.h
parentb55793f7528ce1b73c25b3ac8a86a6cda2a0f9a4 (diff)
parentb635acec48bcaa9183fcbf4e3955616b0d4119b5 (diff)
Merge branch 'linus' into x86/core
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