Re: [PATCH] arm64: make flatmem depend on !NUMA

2018-07-10 Thread Will Deacon
On Tue, Jul 10, 2018 at 05:16:27PM +0200, Arnd Bergmann wrote: > Building without NUMA but with FLATMEM results in a link error > because mem_map[] is not available: > > aarch64-linux-ld -EB -maarch64elfb --no-undefined -X -pie -shared -Bsymbolic > --no-apply-dynamic-relocs --build-id -o .tmp_vml

[PATCH] arm64: make flatmem depend on !NUMA

2018-07-10 Thread Arnd Bergmann
Building without NUMA but with FLATMEM results in a link error because mem_map[] is not available: aarch64-linux-ld -EB -maarch64elfb --no-undefined -X -pie -shared -Bsymbolic --no-apply-dynamic-relocs --build-id -o .tmp_vmlinux1 -T ./arch/arm64/kernel/vmlinux.lds --whole-archive built-in.a --no