]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/asm-mips/mmzone.h
[MIPS] Get rid of __ilog2
[mv-sheeva.git] / include / asm-mips / mmzone.h
index 79f4491403b68ea439169f721a325eb48980223c..f53ec54c92ffa17ee35ebd5514d25676904601fd 100644 (file)
@@ -5,18 +5,13 @@
 #ifndef _ASM_MMZONE_H_
 #define _ASM_MMZONE_H_
 
-#include <linux/config.h>
 #include <asm/page.h>
 #include <mmzone.h>
 
 #ifdef CONFIG_DISCONTIGMEM
 
-#define kvaddr_to_nid(kvaddr)  pa_to_nid(__pa(kvaddr))
 #define pfn_to_nid(pfn)                pa_to_nid((pfn) << PAGE_SHIFT)
 
-/* XXX: FIXME -- wli */
-#define kern_addr_valid(addr)  (0)
-
 #endif /* CONFIG_DISCONTIGMEM */
 
 #endif /* _ASM_MMZONE_H_ */