aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/topology.h
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 /include/linux/topology.h
parentarch/tile: move user_exit() to early kernel entry sequence (diff)
downloadlinux-dev-00d27c6336b00345724b2510f7c5b8cee3055f02.tar.xz
linux-dev-00d27c6336b00345724b2510f7c5b8cee3055f02.zip
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 'include/linux/topology.h')
-rw-r--r--include/linux/topology.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/topology.h b/include/linux/topology.h
index 73ddad1e0fa3..afce69296ac0 100644
--- a/include/linux/topology.h
+++ b/include/linux/topology.h
@@ -34,10 +34,6 @@
#include <linux/percpu.h>
#include <asm/topology.h>
-#ifndef node_has_online_mem
-#define node_has_online_mem(nid) (1)
-#endif
-
#ifndef nr_cpus_node
#define nr_cpus_node(node) cpumask_weight(cpumask_of_node(node))
#endif