Skip to content

Commit

Permalink
x86: export vector_used_by_percpu_irq
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar committed Dec 23, 2008
1 parent 7d87d53 commit c3d8000
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/x86/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -190,3 +191,5 @@ u64 arch_irq_stat(void)
#endif
return sum;
}

EXPORT_SYMBOL_GPL(vector_used_by_percpu_irq);

0 comments on commit c3d8000

Please sign in to comment.