forked from Minki/linux
08472f6ebd
prom_init_numa_memory() is annotated __init and not used by any module,
thus don't export it.
Remove not needed EXPORT_SYMBOL for prom_init_numa_memory() to fix the
following section mismatch warning:
LD vmlinux.o
MODPOST vmlinux.symvers
WARNING: modpost: vmlinux.o(___ksymtab+prom_init_numa_memory+0x0): Section mismatch in reference
from the variable __ksymtab_prom_init_numa_memory to the function .init.text:prom_init_numa_memory()
The symbol prom_init_numa_memory is exported and annotated __init
Fix this by removing the __init annotation of prom_init_numa_memory or drop the export.
This is build on Linux 5.19-rc4.
Fixes:
|
||
---|---|---|
.. | ||
boardinfo.c | ||
cop2-ex.c | ||
cpucfg-emul.c | ||
dma.c | ||
env.c | ||
hpet.c | ||
init.c | ||
Kconfig | ||
Makefile | ||
numa.c | ||
Platform | ||
pm.c | ||
reset.c | ||
setup.c | ||
smp.c | ||
smp.h | ||
time.c | ||
vbios_quirk.c |