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
- Lines: 21
- Date:
2003-06-13 07:51:32.000000000 -0700
- Orig file:
linux-2.4.20/arch/x86_64/mm/numa.c
- Orig date:
2002-11-28 15:53:12.000000000 -0800
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)