Skip to content

Commit

Permalink
KVM: PPC: annotate kvm_rma_init as __init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nishanth Aravamudan authored and Avi Kivity committed Dec 27, 2011
1 parent 222d21a commit 6c9b7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/kvm/book3s_hv_builtin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6c9b7c4

Please sign in to comment.