patch-2.4.21 linux-2.4.21/arch/x86_64/mm/numa.c

Next file: linux-2.4.21/arch/x86_64/mm/pageattr.c
Previous file: linux-2.4.21/arch/x86_64/mm/modutil.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/arch/x86_64/mm/numa.c linux-2.4.21/arch/x86_64/mm/numa.c
@@ -1,7 +1,7 @@
 /* 
  * Generic VM initialization for x86-64 NUMA setups.
  * Copyright 2002 Andi Kleen, SuSE Labs.
- * $Id: numa.c,v 1.4 2002/09/05 15:28:12 ak Exp $
+ * $Id: numa.c,v 1.6 2003/04/03 12:28:08 ak Exp $
  */ 
 #include <linux/kernel.h>
 #include <linux/mm.h>
@@ -183,9 +183,9 @@
 }
 
 /* [numa=off] */
-static __init int numa_setup(char *opt) 
+__init int numa_setup(char *opt) 
 { 
-	if (!strcmp(opt,"off"))
+	if (!strncmp(opt,"off",3))
 		numa_off = 1;
 	return 1;
 } 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)