aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-04-15 18:11:54 -0400
committerAvi Kivity <avi@redhat.com>2010-05-17 05:18:48 -0400
commitbe85669886776faa496b026b344691c325727731 (patch)
treef9388b47d3ddb9245e493d74f00a0698621a10f3 /arch/powerpc
parent07b0907db19d28dc74e7927d565655690b96daf7 (diff)
KVM: PPC: Export MMU variables
Our shadow MMU code needs to know where the HTAB is located and how big it is. So we need some variables from the kernel exported to module space if KVM is built as a module. CC: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Alexander Graf <agraf@suse.de> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/ppc_ksyms.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c
index bc9f39d2598b..2b7c43f95bb2 100644
--- a/arch/powerpc/kernel/ppc_ksyms.c
+++ b/arch/powerpc/kernel/ppc_ksyms.c
@@ -178,6 +178,11 @@ EXPORT_SYMBOL(switch_mmu_context);
178extern long mol_trampoline; 178extern long mol_trampoline;
179EXPORT_SYMBOL(mol_trampoline); /* For MOL */ 179EXPORT_SYMBOL(mol_trampoline); /* For MOL */
180EXPORT_SYMBOL(flush_hash_pages); /* For MOL */ 180EXPORT_SYMBOL(flush_hash_pages); /* For MOL */
181
182extern struct hash_pte *Hash;
183extern unsigned long _SDR1;
184EXPORT_SYMBOL_GPL(Hash); /* For KVM */
185EXPORT_SYMBOL_GPL(_SDR1); /* For KVM */
181#ifdef CONFIG_SMP 186#ifdef CONFIG_SMP
182extern int mmu_hash_lock; 187extern int mmu_hash_lock;
183EXPORT_SYMBOL(mmu_hash_lock); /* For MOL */ 188EXPORT_SYMBOL(mmu_hash_lock); /* For MOL */