Commit 14388ae2 authored by Alexey Makhalov's avatar Alexey Makhalov Committed by Borislav Petkov
Browse files

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: default avatarAlexey Makhalov <amakhalov@vmware.com>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Reviewed-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200323195707.31242-2-amakhalov@vmware.com
parent 16fbf79b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -213,7 +213,7 @@ static void __init vmware_platform_setup(void)
	vmware_set_capabilities();
}

static u8 vmware_select_hypercall(void)
static u8 __init vmware_select_hypercall(void)
{
	int eax, ebx, ecx, edx;