ppc64: Remove duplicate (& incorrect) definition of kern_add_valid()

parent 17512c60
...@@ -72,9 +72,6 @@ static inline int pa_to_nid(unsigned long pa) ...@@ -72,9 +72,6 @@ static inline int pa_to_nid(unsigned long pa)
#define local_mapnr(kvaddr) \ #define local_mapnr(kvaddr) \
( (__pa(kvaddr) >> PAGE_SHIFT) - node_start_pfn(kvaddr_to_nid(kvaddr)) ( (__pa(kvaddr) >> PAGE_SHIFT) - node_start_pfn(kvaddr_to_nid(kvaddr))
/* XXX fix - Anton - and wli */
#define kern_addr_valid(kaddr) (0)
/* Written this way to avoid evaluating arguments twice */ /* Written this way to avoid evaluating arguments twice */
#define discontigmem_pfn_to_page(pfn) \ #define discontigmem_pfn_to_page(pfn) \
({ \ ({ \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment