]> 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)
commitcc91dc7b0846cfac66dda529aa8c095e4415da62
treeb341991a0653307f026a6be570b8de5c62b40ea1
parent971a3b3144034fc7177097f7620530ac164bc9b7
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