mm/memory_hotplug: introduce default phys_to_target_node() implementation
[sfrench/cifs-2.6.git] / include / linux / numa.h
index a42df804679ea48af796fef66b552dd3c0eb7733..8cb33ccfb671e9b3b467dfbc5368ffc9f576fff8 100644 (file)
 #ifdef CONFIG_NUMA
 /* Generic implementation available */
 int numa_map_to_online_node(int node);
-
-/*
- * Optional architecture specific implementation, users need a "depends
- * on $ARCH"
- */
-int phys_to_target_node(phys_addr_t addr);
 #else
 static inline int numa_map_to_online_node(int node)
 {
        return NUMA_NO_NODE;
 }
-
-static inline int phys_to_target_node(phys_addr_t addr)
-{
-       return NUMA_NO_NODE;
-}
 #endif
 
 #endif /* _LINUX_NUMA_H */