Fix numa=off
PATCH 4/4 Fix numa=off
Fix numa=off at end of command line
Fix a long standing bug: numa=off only worked as last argument on the command line.
Signed-off-by Andi Kleen <[email protected]>
arch/x86_64/mm/numa.c +1 -1
@@ -265,7 +265,7 @@/* [numa=off] */ __init int numa_setup (char *opt) { -if (!strcmp (opt,"off" )) +if (!strncmp (opt,"off" ,3 )) numa_off =1 ;#ifdef CONFIG_NUMA_EMU if (!strncmp (opt,"fake=" ,5 )) {