x86/vmware: Make vmware_select_hypercall() __init
authorAlexey Makhalov <amakhalov@vmware.com>
Mon, 23 Mar 2020 19:57:03 +0000 (19:57 +0000)
committerBorislav Petkov <bp@suse.de>
Tue, 24 Mar 2020 08:26:04 +0000 (09:26 +0100)
commit14388ae24544c4cc09056773c886839a2c8d256b
tree26f404c6f3f7f999a32c7738e946fe3411b1f6dd
parent16fbf79b0f83bc752cee8589279f1ebfe57b3b6e
x86/vmware: Make vmware_select_hypercall() __init

vmware_select_hypercall() is used only by the __init
functions, and should be annotated with __init as well.

Signed-off-by: Alexey Makhalov <amakhalov@vmware.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200323195707.31242-2-amakhalov@vmware.com
arch/x86/kernel/cpu/vmware.c