Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Nishanth Aravamudan and committed by
Avi Kivity
6c9b7c40 222d21aa

+1 -1
+1 -1
arch/powerpc/kvm/book3s_hv_builtin.c
··· 86 86 * to allocate contiguous physical memory for the real memory 87 87 * areas for guests. 88 88 */ 89 - void kvm_rma_init(void) 89 + void __init kvm_rma_init(void) 90 90 { 91 91 unsigned long i; 92 92 unsigned long j, npages;