• Dou Liyang's avatar
    x86/kvm: Make parse_no_xxx __init for kvm · afdc3f58
    Dou Liyang authored
    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: default avatarDou Liyang <douly.fnst@cn.fujitsu.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    afdc3f58
kvm.c 17.2 KB