mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] [4/4] Fix numa=off
@ 2005-01-12  7:05 Andi Kleen
  0 siblings, 0 replies; only message in thread
From: Andi Kleen @ 2005-01-12  7:05 UTC (permalink / raw)
  To: torvalds, akpm, linux-kernel, discuss, vandrove

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 <ak@suse.de>

Index: linux/arch/x86_64/mm/numa.c
===================================================================
--- linux.orig/arch/x86_64/mm/numa.c	2005-01-09 18:20:08.%N +0100
+++ linux/arch/x86_64/mm/numa.c	2005-01-12 06:47:00.%N +0100
@@ -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)) {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-12  7:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-12  7:05 [PATCH] [4/4] Fix numa=off Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome