arm64/numa: avoid inconsistent information to be printed
authorZhen Lei <thunder.leizhen@huawei.com>
Thu, 1 Sep 2016 06:54:56 +0000 (14:54 +0800)
committerWill Deacon <will.deacon@arm.com>
Fri, 9 Sep 2016 13:59:08 +0000 (14:59 +0100)
commit794224ea565c439ca624a3760ac220928463ea17
tree07e048febf683529c678f7cc488d2f388b06ee26
parent9787ed6e5cee7a62320f3014eb5e7b373502c292
arm64/numa: avoid inconsistent information to be printed

numa_init may return error because of numa configuration error. So "No
NUMA configuration found" is inaccurate. In fact, specific configuration
error information should be immediately printed by the testing branch.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/acpi_numa.c
arch/arm64/mm/numa.c