summaryrefslogtreecommitdiffstats
path: root/arch/tile
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@ezchip.com>2016-01-05 11:22:10 -0500
committerChris Metcalf <cmetcalf@ezchip.com>2016-01-18 14:49:33 -0500
commit00d27c6336b00345724b2510f7c5b8cee3055f02 (patch)
tree8f34ebd28083bd1059eb151ad7dccc70a8b20a08 /arch/tile
parent1bb50cad45f4a3fb9a339006d76efc50f70eed5b (diff)
downloadop-kernel-dev-00d27c6336b00345724b2510f7c5b8cee3055f02.zip
op-kernel-dev-00d27c6336b00345724b2510f7c5b8cee3055f02.tar.gz
numa: remove stale node_has_online_mem() define
This isn't used anywhere, so delete it. Looks like the last usage (in x86-specific code) was removed by Tejun in 2011 in commit bd6709a91a59 ("x86, NUMA: Make 32bit use common NUMA init path"). Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
Diffstat (limited to 'arch/tile')
-rw-r--r--arch/tile/include/asm/topology.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/tile/include/asm/topology.h b/arch/tile/include/asm/topology.h
index 76b0d0e..b11d5fc 100644
--- a/arch/tile/include/asm/topology.h
+++ b/arch/tile/include/asm/topology.h
@@ -44,9 +44,6 @@ static inline const struct cpumask *cpumask_of_node(int node)
/* For now, use numa node -1 for global allocation. */
#define pcibus_to_node(bus) ((void)(bus), -1)
-/* By definition, we create nodes based on online memory. */
-#define node_has_online_mem(nid) 1
-
#endif /* CONFIG_NUMA */
#include <asm-generic/topology.h>
OpenPOWER on IntegriCloud