Patchwork [1/2] PPC: Export some interrupt handlers

login
register
mail settings
Submitter Alexander Graf
Date April 26, 2012, 10:19 a.m.
Message ID <1335435543-19690-1-git-send-email-agraf@suse.de>
Download mbox | patch
Permalink /patch/155227/
State New
Headers show

Comments

Alexander Graf - April 26, 2012, 10:19 a.m.
To directly call core interrupt handling code from kvm module code,
we need to export its symbols.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 arch/powerpc/kernel/ppc_ksyms.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Patch

diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c
index 786a270..f6484f2 100644
--- a/arch/powerpc/kernel/ppc_ksyms.c
+++ b/arch/powerpc/kernel/ppc_ksyms.c
@@ -190,3 +190,7 @@  EXPORT_SYMBOL(__arch_hweight16);
 EXPORT_SYMBOL(__arch_hweight32);
 EXPORT_SYMBOL(__arch_hweight64);
 #endif
+
+EXPORT_SYMBOL_GPL(do_IRQ);
+EXPORT_SYMBOL_GPL(timer_interrupt);
+EXPORT_SYMBOL_GPL(performance_monitor_exception);