aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-12-23 15:15:17 +0100
committerIngo Molnar <mingo@elte.hu>2008-12-23 22:37:31 +0100
commitc3d80000e3a812fe5a200d6bde755fbd7fa65481 (patch)
treea5a7d086d91c059bbe87377f5e9e9634e9883e6d
parent7d87d5365556b1c6e8c00abcc632c3ad1fdc58b8 (diff)
downloadkernel_samsung_tuna-c3d80000e3a812fe5a200d6bde755fbd7fa65481.zip
kernel_samsung_tuna-c3d80000e3a812fe5a200d6bde755fbd7fa65481.tar.gz
kernel_samsung_tuna-c3d80000e3a812fe5a200d6bde755fbd7fa65481.tar.bz2
x86: export vector_used_by_percpu_irq
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>
-rw-r--r--arch/x86/kernel/irq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
index 3f1d9d1..bce53e1 100644
--- a/arch/x86/kernel/irq.c
+++ b/arch/x86/kernel/irq.c
@@ -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);