summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Makefile.postlink
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2022-06-27 14:57:35 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2022-07-07 17:41:01 +0800
commitf0fbe652e8529a180630617a17cd5922298c4f13 (patch)
tree7ffb07e1f87b5f77bfb5727f6fe07fa9fb4bb5da /arch/powerpc/Makefile.postlink
parente6ee90233eb155991e469d2047855fc466b831b6 (diff)
downloadlinux-f0fbe652e8529a180630617a17cd5922298c4f13.tar.bz2
LoongArch: Fix section mismatch warning
init_numa_memory() is annotated __init and not used by any module, thus don't export it. Remove not needed EXPORT_SYMBOL for init_numa_memory() to fix the following section mismatch warning: MODPOST vmlinux.symvers WARNING: modpost: vmlinux.o(___ksymtab+init_numa_memory+0x0): Section mismatch in reference from the variable __ksymtab_init_numa_memory to the function .init.text:init_numa_memory() The symbol init_numa_memory is exported and annotated __init Fix this by removing the __init annotation of init_numa_memory or drop the export. This is build on Linux 5.19-rc4. Fixes: d4b6f1562a3c ("LoongArch: Add Non-Uniform Memory Access (NUMA) support") Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/powerpc/Makefile.postlink')
0 files changed, 0 insertions, 0 deletions