diff options
Diffstat (limited to 'include/asm-i386/mmzone.h')
-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 | ({ \ |