Skip to content

Commit 14388ae

Browse files
Alexey Makhalovsuryasaimadhu
authored andcommitted
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 <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Thomas Hellstrom <[email protected]> Reviewed-by: Thomas Gleixner <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 16fbf79 commit 14388ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/cpu/vmware.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ static void __init vmware_platform_setup(void)
213213
vmware_set_capabilities();
214214
}
215215

216-
static u8 vmware_select_hypercall(void)
216+
static u8 __init vmware_select_hypercall(void)
217217
{
218218
int eax, ebx, ecx, edx;
219219

0 commit comments

Comments
 (0)