Commit be856698 authored by Alexander Graf's avatar Alexander Graf Committed by Avi Kivity

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: default avatarAlexander Graf <agraf@suse.de>
Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 07b0907d
...@@ -178,6 +178,11 @@ EXPORT_SYMBOL(switch_mmu_context); ...@@ -178,6 +178,11 @@ EXPORT_SYMBOL(switch_mmu_context);
extern long mol_trampoline; extern long mol_trampoline;
EXPORT_SYMBOL(mol_trampoline); /* For MOL */ EXPORT_SYMBOL(mol_trampoline); /* For MOL */
EXPORT_SYMBOL(flush_hash_pages); /* For MOL */ EXPORT_SYMBOL(flush_hash_pages); /* For MOL */
extern struct hash_pte *Hash;
extern unsigned long _SDR1;
EXPORT_SYMBOL_GPL(Hash); /* For KVM */
EXPORT_SYMBOL_GPL(_SDR1); /* For KVM */
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
extern int mmu_hash_lock; extern int mmu_hash_lock;
EXPORT_SYMBOL(mmu_hash_lock); /* For MOL */ EXPORT_SYMBOL(mmu_hash_lock); /* For MOL */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment