diff options
author | Aneesh Kumar K.V <[email protected]> | 2019-07-01 20:06:26 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2019-07-05 00:27:33 +1000 |
commit | 495c2ff4c88108d1f7730dd0966d4f8b03f0046e (patch) | |
tree | acf08e0d223362d207c22bc21a66c80cbbe9aeca /lib/netdev-notifier-error-inject.c | |
parent | f52741c410cfb76582df21f02e4c062ee732b882 (diff) |
powerpc/mm: Consolidate numa_enable check and min_common_depth check
If we fail to parse min_common_depth from device tree we boot with
numa disabled. Reflect the same by updating numa_enabled variable
to false. Also, switch all min_common_depth failure check to
if (!numa_enabled) check.
This helps us to avoid checking for both in different code paths.
Signed-off-by: Aneesh Kumar K.V <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions