patch-2.4.23 linux-2.4.23/arch/x86_64/mm/k8topology.c
Next file: linux-2.4.23/crypto/Config.in
Previous file: linux-2.4.23/arch/x86_64/mm/ioremap.c
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
2003-11-28 10:26:19.000000000 -0800
- Orig file:
linux-2.4.22/arch/x86_64/mm/k8topology.c
- Orig date:
2003-08-25 04:44:40.000000000 -0700
diff -urN linux-2.4.22/arch/x86_64/mm/k8topology.c linux-2.4.23/arch/x86_64/mm/k8topology.c
@@ -6,7 +6,7 @@
* Instead the northbridge registers are read directly.
*
* Copyright 2002 Andi Kleen, SuSE Labs.
- * $Id: k8topology.c,v 1.7 2003/04/02 21:36:22 ak Exp $
+ * $Id: k8topology.c,v 1.11 2003/09/12 01:55:37 ak Exp $
*/
#include <linux/kernel.h>
#include <linux/init.h>
@@ -20,6 +20,8 @@
#include <asm/e820.h>
#include <asm/pci-direct.h>
+#define Dprintk(x...)
+
int memnode_shift;
u8 memnodemap[NODEMAPSIZE];
@@ -110,6 +112,9 @@
limit = read_pci_config(0, nb, 1, 0x44 + i*8);
nodeid = limit & 3;
+ if ((base & 3) == 0) {
+ continue;
+ }
if (!limit) {
printk(KERN_INFO "Skipping node entry %d (base %lx)\n", i, base);
continue;
@@ -145,7 +150,7 @@
if (limit == base)
continue;
if (limit < base) {
- printk(KERN_INFO"Node %d bogus settings %lx-%lx. Ignored.\n",
+ Dprintk(KERN_INFO"Node %d bogus settings %lx-%lx. Ignored.\n",
nodeid, base, limit);
continue;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)