android_kernel_xiaomi_sm8350/arch/x86_64/mm
Sam Ravnborg dec2e6b7aa x86_64: fix section mismatch warning in init.c
Fix following warning:
WARNING: vmlinux.o(.text+0x188ea): Section mismatch: reference to .init.text:__alloc_bootmem_core (between 'alloc_bootmem_high_node' and 'get_gate_vma')

alloc_bootmem_high_node() is only used from __init scope so declare it __init.
And in addition declare the weak variant __init too.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-22 11:03:38 -07:00
..
extable.c
fault.c x86_64: Use read and write crX in .c files 2007-07-22 11:03:37 -07:00
init.c x86_64: fix section mismatch warning in init.c 2007-07-22 11:03:38 -07:00
ioremap.c Revert "[PATCH] x86: __pa and __pa_symbol address space separation" 2007-05-07 08:44:24 -07:00
k8topology.c x86_64: make k8topology multi-core aware 2007-07-21 18:37:14 -07:00
Makefile
mmap.c
numa.c x86_64: disable srat when numa emulation succeeds 2007-07-21 18:37:14 -07:00
pageattr.c x86: Fix alternatives and kprobes to remap write-protected kernel text 2007-07-22 11:03:37 -07:00
srat.c x86_64: fake apicid_to_node mapping for fake numa 2007-07-21 18:37:10 -07:00