aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/hw_irq.h
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-05-28 23:34:19 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 06:48:21 -0400
commit3fde690011a84e19f98f77bfaa349b2119ddd2d2 (patch)
tree82222565bdbf209893a7af884b157c2972ce0984 /include/asm-x86/hw_irq.h
parent86e430edf462e872ecfab28d6b8619be5ab9c300 (diff)
x86: change __setup_vector_irq with setup_vector_irq
We create a version of it for i386, and then take the CONFIG_X86_64 ifdef out of the game. We could create a __setup_vector_irq for i386, but it would incur in an unnecessary lock taking. Moreover, it is better practice to only export setup_vector_irq anyway. Signed-off-by: Glauber Costa <gcosta@redhat.com> 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/hw_irq.h b/include/asm-x86/hw_irq.h
index 1428b41dcbb9..18f067c310f7 100644
--- a/include/asm-x86/hw_irq.h
+++ b/include/asm-x86/hw_irq.h
@@ -97,9 +97,9 @@ extern void (*const interrupt[NR_IRQS])(void);
97#else 97#else
98typedef int vector_irq_t[NR_VECTORS]; 98typedef int vector_irq_t[NR_VECTORS];
99DECLARE_PER_CPU(vector_irq_t, vector_irq); 99DECLARE_PER_CPU(vector_irq_t, vector_irq);
100extern void __setup_vector_irq(int cpu);
101extern spinlock_t vector_lock; 100extern spinlock_t vector_lock;
102#endif 101#endif
102extern void setup_vector_irq(int cpu);
103 103
104#endif /* !ASSEMBLY_ */ 104#endif /* !ASSEMBLY_ */
105 105