diff options
author | Scott Wood <scottwood@freescale.com> | 2012-08-10 08:21:21 -0400 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-10-05 17:38:40 -0400 |
commit | 8043e494da644ec174f7df0b67f88ccf8777a1ce (patch) | |
tree | ab707086df1d46cec182d8d2dc43c10f2ebed055 /arch/powerpc/kernel/ppc_ksyms.c | |
parent | 1340f3e8871b9f35b39c33d0140383c6c6c1f005 (diff) |
powerpc/epapr: export epapr_hypercall_start
This fixes breakage introduced by the following commit:
commit 6d2d82627f4f1e96a33664ace494fa363e0495cb
Author: Liu Yu-B13201 <Yu.Liu@freescale.com>
Date: Tue Jul 3 05:48:56 2012 +0000
PPC: Don't use hardcoded opcode for ePAPR hcall invocation
when a driver that uses ePAPR hypercalls is built as a module.
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kernel/ppc_ksyms.c')
-rw-r--r-- | arch/powerpc/kernel/ppc_ksyms.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c index 3e4031581c65..e597dde124e8 100644 --- a/arch/powerpc/kernel/ppc_ksyms.c +++ b/arch/powerpc/kernel/ppc_ksyms.c | |||
@@ -43,6 +43,7 @@ | |||
43 | #include <asm/dcr.h> | 43 | #include <asm/dcr.h> |
44 | #include <asm/ftrace.h> | 44 | #include <asm/ftrace.h> |
45 | #include <asm/switch_to.h> | 45 | #include <asm/switch_to.h> |
46 | #include <asm/epapr_hcalls.h> | ||
46 | 47 | ||
47 | #ifdef CONFIG_PPC32 | 48 | #ifdef CONFIG_PPC32 |
48 | extern void transfer_to_handler(void); | 49 | extern void transfer_to_handler(void); |
@@ -192,3 +193,7 @@ EXPORT_SYMBOL(__arch_hweight64); | |||
192 | #ifdef CONFIG_PPC_BOOK3S_64 | 193 | #ifdef CONFIG_PPC_BOOK3S_64 |
193 | EXPORT_SYMBOL_GPL(mmu_psize_defs); | 194 | EXPORT_SYMBOL_GPL(mmu_psize_defs); |
194 | #endif | 195 | #endif |
196 | |||
197 | #ifdef CONFIG_EPAPR_PARAVIRT | ||
198 | EXPORT_SYMBOL(epapr_hypercall_start); | ||
199 | #endif | ||