diff options
author | Andy Whitcroft <apw@shadowen.org> | 2006-01-06 03:10:50 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:23 -0500 |
commit | 9f3fd602aef96c2a490e3bfd669d06475aeba8d8 (patch) | |
tree | 3f16d0d4ff7cbb8943c37391a0ea5fa9e3424dbb /include/asm-i386 | |
parent | 6bda666a03f063968833760c5bb5c13062ab9291 (diff) |
[PATCH] mm: kvaddr_to_nid not used in common code
kvaddr_to_nid() isn't used in common code nor in i386 code. Remove these
definitions.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386')
-rw-r--r-- | include/asm-i386/mmzone.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-i386/mmzone.h b/include/asm-i386/mmzone.h index 620a90641ea8..74f595d80579 100644 --- a/include/asm-i386/mmzone.h +++ b/include/asm-i386/mmzone.h | |||
@@ -76,11 +76,6 @@ static inline int pfn_to_nid(unsigned long pfn) | |||
76 | * Following are macros that each numa implmentation must define. | 76 | * Following are macros that each numa implmentation must define. |
77 | */ | 77 | */ |
78 | 78 | ||
79 | /* | ||
80 | * Given a kernel address, find the home node of the underlying memory. | ||
81 | */ | ||
82 | #define kvaddr_to_nid(kaddr) pfn_to_nid(__pa(kaddr) >> PAGE_SHIFT) | ||
83 | |||
84 | #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) | 79 | #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) |
85 | #define node_end_pfn(nid) \ | 80 | #define node_end_pfn(nid) \ |
86 | ({ \ | 81 | ({ \ |