diff options
author | Nishanth Aravamudan <nacc@us.ibm.com> | 2011-11-07 13:29:56 (GMT) |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-12-27 09:26:40 (GMT) |
commit | 6c9b7c409ca2840ba589a869c48e641b40966e30 (patch) | |
tree | 6e43700bb2cb37775357f2377e6cad1d3ff11623 | |
parent | 222d21aa070a4885ce3c7125a1b7ce07429ea4a1 (diff) | |
download | linux-6c9b7c409ca2840ba589a869c48e641b40966e30.tar.xz |
KVM: PPC: annotate kvm_rma_init as __init
kvm_rma_init() is only called at boot-time, by setup_arch, which is also __init.
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r-- | arch/powerpc/kvm/book3s_hv_builtin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/book3s_hv_builtin.c b/arch/powerpc/kvm/book3s_hv_builtin.c index 286f13d..a795a13 100644 --- a/arch/powerpc/kvm/book3s_hv_builtin.c +++ b/arch/powerpc/kvm/book3s_hv_builtin.c @@ -86,7 +86,7 @@ static inline int lpcr_rmls(unsigned long rma_size) * to allocate contiguous physical memory for the real memory * areas for guests. */ -void kvm_rma_init(void) +void __init kvm_rma_init(void) { unsigned long i; unsigned long j, npages; |