diff options
author | Alexander Graf <agraf@suse.de> | 2010-04-15 18:11:54 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-17 05:18:48 -0400 |
commit | be85669886776faa496b026b344691c325727731 (patch) | |
tree | f9388b47d3ddb9245e493d74f00a0698621a10f3 /arch/powerpc | |
parent | 07b0907db19d28dc74e7927d565655690b96daf7 (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.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 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); | |||
178 | extern long mol_trampoline; | 178 | extern long mol_trampoline; |
179 | EXPORT_SYMBOL(mol_trampoline); /* For MOL */ | 179 | EXPORT_SYMBOL(mol_trampoline); /* For MOL */ |
180 | EXPORT_SYMBOL(flush_hash_pages); /* For MOL */ | 180 | EXPORT_SYMBOL(flush_hash_pages); /* For MOL */ |
181 | |||
182 | extern struct hash_pte *Hash; | ||
183 | extern unsigned long _SDR1; | ||
184 | EXPORT_SYMBOL_GPL(Hash); /* For KVM */ | ||
185 | EXPORT_SYMBOL_GPL(_SDR1); /* For KVM */ | ||
181 | #ifdef CONFIG_SMP | 186 | #ifdef CONFIG_SMP |
182 | extern int mmu_hash_lock; | 187 | extern int mmu_hash_lock; |
183 | EXPORT_SYMBOL(mmu_hash_lock); /* For MOL */ | 188 | EXPORT_SYMBOL(mmu_hash_lock); /* For MOL */ |