diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-05-28 23:34:19 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 06:48:21 -0400 |
commit | 3fde690011a84e19f98f77bfaa349b2119ddd2d2 (patch) | |
tree | 82222565bdbf209893a7af884b157c2972ce0984 /arch/x86/kernel/io_apic_32.c | |
parent | 86e430edf462e872ecfab28d6b8619be5ab9c300 (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 'arch/x86/kernel/io_apic_32.c')
-rw-r--r-- | arch/x86/kernel/io_apic_32.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c index fedb3b113ace..d6af301c822b 100644 --- a/arch/x86/kernel/io_apic_32.c +++ b/arch/x86/kernel/io_apic_32.c | |||
@@ -1207,6 +1207,11 @@ static int assign_irq_vector(int irq) | |||
1207 | 1207 | ||
1208 | return vector; | 1208 | return vector; |
1209 | } | 1209 | } |
1210 | |||
1211 | void setup_vector_irq(int cpu) | ||
1212 | { | ||
1213 | } | ||
1214 | |||
1210 | static struct irq_chip ioapic_chip; | 1215 | static struct irq_chip ioapic_chip; |
1211 | 1216 | ||
1212 | #define IOAPIC_AUTO -1 | 1217 | #define IOAPIC_AUTO -1 |