Skip to content

Commit be98dc6

Browse files
Benjamin Thielsuryasaimadhu
authored andcommitted
x86/mm: Mark setup_emu2phys_nid() static
Make function static because it is used only in this file. Signed-off-by: Benjamin Thiel <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 4de4952 commit be98dc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/mm/numa_emulation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ static int __init split_nodes_size_interleave(struct numa_meminfo *ei,
324324
0, NULL, NUMA_NO_NODE);
325325
}
326326

327-
int __init setup_emu2phys_nid(int *dfl_phys_nid)
327+
static int __init setup_emu2phys_nid(int *dfl_phys_nid)
328328
{
329329
int i, max_emu_nid = 0;
330330

0 commit comments

Comments
 (0)