aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup_64.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-01-16 16:50:10 +0100
committerAvi Kivity <avi@redhat.com>2012-03-05 14:57:25 +0200
commitb4e706111d501991c59d2af23a299ab52a06b03d (patch)
treeb341991a0653307f026a6be570b8de5c62b40ea1 /arch/powerpc/kernel/setup_64.c
parentKVM: PPC: E500: Fail init when not on e500v2 (diff)
downloadlinux-dev-b4e706111d501991c59d2af23a299ab52a06b03d.tar.xz
linux-dev-b4e706111d501991c59d2af23a299ab52a06b03d.zip
KVM: PPC: Convert RMA allocation into generic code
We have code to allocate big chunks of linear memory on bootup for later use. This code is currently used for RMA allocation, but can be useful beyond that extent. Make it generic so we can reuse it for other stuff later. Signed-off-by: Alexander Graf <agraf@suse.de> Acked-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kernel/setup_64.c')
-rw-r--r--arch/powerpc/kernel/setup_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
index 4cb8f1e9d044..4721b0c8d7b7 100644
--- a/arch/powerpc/kernel/setup_64.c
+++ b/arch/powerpc/kernel/setup_64.c
@@ -598,7 +598,7 @@ void __init setup_arch(char **cmdline_p)
/* Initialize the MMU context management stuff */
mmu_context_init();
- kvm_rma_init();
+ kvm_linear_init();
ppc64_boot_msg(0x15, "Setup Done");
}