summaryrefslogtreecommitdiffstats
path: root/include/asm-mips64
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips64')
-rw-r--r--include/asm-mips64/mmzone.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-mips64/mmzone.h b/include/asm-mips64/mmzone.h
index 1bbb1f818..2c6af1d75 100644
--- a/include/asm-mips64/mmzone.h
+++ b/include/asm-mips64/mmzone.h
@@ -29,6 +29,8 @@ extern plat_pg_data_t *plat_node_data[];
#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
/*