powerpc/mm/drconf: Use NUMA_NO_NODE on failures instead of node 0
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Mon, 1 Jul 2019 14:36:24 +0000 (20:06 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 4 Jul 2019 14:27:31 +0000 (00:27 +1000)
commitea9f5b702fe0215188fba2eda117419e4ae90a67
tree3604023c7c1b324a76eea183082a3df687b648ae
parent89a3496e0664577043666791ec07fb731d57c950
powerpc/mm/drconf: Use NUMA_NO_NODE on failures instead of node 0

If we fail to parse the associativity array we should default to
NUMA_NO_NODE instead of NODE 0. Rest of the code fallback to the
right default if we find the numa node value NUMA_NO_NODE.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/numa.c