]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Convert RMA allocation into generic code
authorAlexander Graf <agraf@suse.de>
Mon, 16 Jan 2012 15:50:10 +0000 (16:50 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:57:25 +0000 (14:57 +0200)
commit89f9122f7247cbe248afb6e6124b0407b6fc5e7b
treeb341991a0653307f026a6be570b8de5c62b40ea1
parentce6c8e12681ac9d37fad7a706bd477a9a7cdbf21
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>
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kernel/setup_64.c
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/book3s_hv_builtin.c