|
@@ -335,8 +335,10 @@ static int __init numa_init(int (*init_func)(void))
|
|
|
if (ret < 0)
|
|
|
return ret;
|
|
|
|
|
|
- if (nodes_empty(numa_nodes_parsed))
|
|
|
+ if (nodes_empty(numa_nodes_parsed)) {
|
|
|
+ pr_info("No NUMA configuration found\n");
|
|
|
return -EINVAL;
|
|
|
+ }
|
|
|
|
|
|
ret = numa_register_nodes();
|
|
|
if (ret < 0)
|
|
@@ -367,8 +369,6 @@ static int __init dummy_numa_init(void)
|
|
|
|
|
|
if (numa_off)
|
|
|
pr_info("NUMA disabled\n"); /* Forced off on command line. */
|
|
|
- else
|
|
|
- pr_info("No NUMA configuration found\n");
|
|
|
pr_info("NUMA: Faking a node at [mem %#018Lx-%#018Lx]\n",
|
|
|
0LLU, PFN_PHYS(max_pfn) - 1);
|
|
|
|