x86/kvm: Make parse_no_xxx __init for kvm
authorDou Liyang <douly.fnst@cn.fujitsu.com>
Wed, 17 Jan 2018 03:46:54 +0000 (11:46 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 24 Feb 2018 00:43:48 +0000 (01:43 +0100)
commitafdc3f588850a6fbc996205ee2d472eb4426afb3
treeb12f837e98a844deea97b5672d027029aae0abc7
parentfe2a3027e74e40a3ece3a4c1e4e51403090a907a
x86/kvm: Make parse_no_xxx __init for kvm

The early_param() is only called during kernel initialization, So Linux
marks the functions of it with __init macro to save memory.

But it forgot to mark the parse_no_kvmapf/stealacc/kvmclock_vsyscall,
So, Make them __init as well.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: rkrcmar@redhat.com
Cc: kvm@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: x86@kernel.org
Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kernel/kvm.c