diff options
author | Nishanth Aravamudan <nacc@us.ibm.com> | 2011-11-07 13:29:56 +0000 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-12-27 11:26:40 +0200 |
commit | 6c9b7c409ca2840ba589a869c48e641b40966e30 (patch) | |
tree | 6e43700bb2cb37775357f2377e6cad1d3ff11623 /arch | |
parent | 222d21aa070a4885ce3c7125a1b7ce07429ea4a1 (diff) |
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>
Diffstat (limited to 'arch')
-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 286f13d601c..a795a13f4a7 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; |