summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorBenjamin Thiel <b.thiel@posteo.de>2020-03-26 14:58:42 +0100
committerBorislav Petkov <bp@suse.de>2020-03-27 11:07:30 +0100
commitbe98dc6e50433fdcacaf29ec682e85de0ead6748 (patch)
tree49267fbdc510ddba7f91f14341e28ebcc2098d8c /arch/x86
parent4de4952c0abcb490039cdc946e49ed7f237285a2 (diff)
x86/mm: Mark setup_emu2phys_nid() static
Make function static because it is used only in this file. Signed-off-by: Benjamin Thiel <b.thiel@posteo.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20200326135842.3875-1-b.thiel@posteo.de
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/mm/numa_emulation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/numa_emulation.c b/arch/x86/mm/numa_emulation.c
index 7f1d2034df1e..c5174b4e318b 100644
--- a/arch/x86/mm/numa_emulation.c
+++ b/arch/x86/mm/numa_emulation.c
@@ -324,7 +324,7 @@ static int __init split_nodes_size_interleave(struct numa_meminfo *ei,
0, NULL, NUMA_NO_NODE);
}
-int __init setup_emu2phys_nid(int *dfl_phys_nid)
+static int __init setup_emu2phys_nid(int *dfl_phys_nid)
{
int i, max_emu_nid = 0;