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-x86_64/mmzone.h | |
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-x86_64/mmzone.h')
-rw-r--r-- | include/asm-x86_64/mmzone.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-x86_64/mmzone.h b/include/asm-x86_64/mmzone.h index 70bb9969766e..c38ebdf6f426 100644 --- a/include/asm-x86_64/mmzone.h +++ b/include/asm-x86_64/mmzone.h | |||
@@ -42,7 +42,6 @@ static inline __attribute__((pure)) int phys_to_nid(unsigned long addr) | |||
42 | 42 | ||
43 | #ifdef CONFIG_DISCONTIGMEM | 43 | #ifdef CONFIG_DISCONTIGMEM |
44 | #define pfn_to_nid(pfn) phys_to_nid((unsigned long)(pfn) << PAGE_SHIFT) | 44 | #define pfn_to_nid(pfn) phys_to_nid((unsigned long)(pfn) << PAGE_SHIFT) |
45 | #define kvaddr_to_nid(kaddr) phys_to_nid(__pa(kaddr)) | ||
46 | 45 | ||
47 | extern int pfn_valid(unsigned long pfn); | 46 | extern int pfn_valid(unsigned long pfn); |
48 | #endif | 47 | #endif |