diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-06-23 05:03:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 10:42:52 -0400 |
commit | d501e62bc7796e90b0312648e23ac39490dfbf87 (patch) | |
tree | fbeeb75898e9434c0c725738482b9e946f46d5bb /include/asm-parisc | |
parent | 485bb99b49a173a22a0bbf4e189465414947ecac (diff) |
[PATCH] Delete unused definitions of kvaddr_to_nid
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-parisc')
-rw-r--r-- | include/asm-parisc/mmzone.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-parisc/mmzone.h b/include/asm-parisc/mmzone.h index ceb9b73199d1..c87813662d4d 100644 --- a/include/asm-parisc/mmzone.h +++ b/include/asm-parisc/mmzone.h | |||
@@ -14,11 +14,6 @@ extern struct node_map_data node_data[]; | |||
14 | 14 | ||
15 | #define NODE_DATA(nid) (&node_data[nid].pg_data) | 15 | #define NODE_DATA(nid) (&node_data[nid].pg_data) |
16 | 16 | ||
17 | /* | ||
18 | * Given a kernel address, find the home node of the underlying memory. | ||
19 | */ | ||
20 | #define kvaddr_to_nid(kaddr) pfn_to_nid(__pa(kaddr) >> PAGE_SHIFT) | ||
21 | |||
22 | #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) | 17 | #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) |
23 | #define node_end_pfn(nid) \ | 18 | #define node_end_pfn(nid) \ |
24 | ({ \ | 19 | ({ \ |