patch-2.4.0-test3 linux/include/asm-mips64/mmzone.h
Next file: linux/include/asm-mips64/offset.h
Previous file: linux/include/asm-mips64/mmu_context.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Sun Jul 9 22:18:15 2000
- Orig file:
v2.4.0-test2/linux/include/asm-mips64/mmzone.h
- Orig date:
Tue May 23 15:31:36 2000
diff -u --recursive --new-file v2.4.0-test2/linux/include/asm-mips64/mmzone.h linux/include/asm-mips64/mmzone.h
@@ -8,9 +8,11 @@
#include <asm/sn/types.h>
#include <asm/sn/addrs.h>
#include <asm/sn/arch.h>
+#include <asm/sn/klkernvars.h>
typedef struct plat_pglist_data {
pg_data_t gendata;
+ kern_vars_t kern_vars;
} plat_pg_data_t;
/*
@@ -26,6 +28,8 @@
#define PLAT_NODE_DATA_SIZE(n) (PLAT_NODE_DATA(n)->gendata.node_size)
#define PLAT_NODE_DATA_LOCALNR(p, n) \
(((p) - PLAT_NODE_DATA(n)->gendata.node_start_paddr) >> PAGE_SHIFT)
+
+#define numa_node_id() cputocnode(current->processor)
#ifdef CONFIG_DISCONTIGMEM
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)