Skip to content

Commit 0e1b427

Browse files
JasonYanHwjgross1
authored andcommitted
x86/xen: make xen_pvmmu_arch_setup() static
Fix the following sparse warning: arch/x86/xen/setup.c:998:12: warning: symbol 'xen_pvmmu_arch_setup' was not declared. Should it be static? Reported-by: Hulk Robot <[email protected]> Signed-off-by: Jason Yan <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Juergen Gross <[email protected]>
1 parent 3a169c0 commit 0e1b427

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/xen/setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ void xen_enable_syscall(void)
985985
#endif /* CONFIG_X86_64 */
986986
}
987987

988-
void __init xen_pvmmu_arch_setup(void)
988+
static void __init xen_pvmmu_arch_setup(void)
989989
{
990990
HYPERVISOR_vm_assist(VMASST_CMD_enable, VMASST_TYPE_4gb_segments);
991991
HYPERVISOR_vm_assist(VMASST_CMD_enable, VMASST_TYPE_writable_pagetables);

0 commit comments

Comments
 (0)