]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: export vector_used_by_percpu_irq
authorIngo Molnar <mingo@elte.hu>
Tue, 23 Dec 2008 14:15:17 +0000 (15:15 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 23 Dec 2008 21:37:31 +0000 (22:37 +0100)
Impact: build fix

lguest can be built as a module and makes use of this new symbol:

ERROR: "vector_used_by_percpu_irq" [drivers/lguest/lg.ko] undefined!

export it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/irq.c

index 3f1d9d18df679c858bda94daae4d578c0d8cbf93..bce53e1352a087b5841f9998b4fa63cbf40b8c2a 100644 (file)
@@ -9,6 +9,7 @@
 #include <asm/apic.h>
 #include <asm/io_apic.h>
 #include <asm/smp.h>
+#include <asm/irq.h>
 
 atomic_t irq_err_count;
 
@@ -190,3 +191,5 @@ u64 arch_irq_stat(void)
 #endif
        return sum;
 }
+
+EXPORT_SYMBOL_GPL(vector_used_by_percpu_irq);