diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-08-14 04:55:26 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-14 04:55:26 -0400 |
commit | d4439087d316613548c70472291bf4ca646ce24b (patch) | |
tree | 4819f39cbbfcc2ed9c9f85c7a91cbf142f5b02d4 /include/asm-x86/hw_irq.h | |
parent | 26d809af6397ce5c37f5c44d89734d19cce1ad25 (diff) | |
parent | 30a2f3c60a84092c8084dfe788b710f8d0768cd4 (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.h | 12 |
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 |
101 | typedef int vector_irq_t[NR_VECTORS]; | 101 | typedef int vector_irq_t[NR_VECTORS]; |
102 | DECLARE_PER_CPU(vector_irq_t, vector_irq); | 102 | DECLARE_PER_CPU(vector_irq_t, vector_irq); |
103 | extern spinlock_t vector_lock; | ||
104 | #endif | 103 | #endif |
105 | extern void setup_vector_irq(int cpu); | 104 | |
105 | #if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_X86_64) | ||
106 | extern void lock_vector_lock(void); | ||
107 | extern void unlock_vector_lock(void); | ||
108 | extern void __setup_vector_irq(int cpu); | ||
109 | #else | ||
110 | static inline void lock_vector_lock(void) {} | ||
111 | static inline void unlock_vector_lock(void) {} | ||
112 | static inline void __setup_vector_irq(int cpu) {} | ||
113 | #endif | ||
106 | 114 | ||
107 | #endif /* !ASSEMBLY_ */ | 115 | #endif /* !ASSEMBLY_ */ |
108 | 116 | ||