summaryrefslogtreecommitdiffstats
path: root/arch/ia64/include/asm/topology.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2014-03-04 22:07:37 +0100
committerIngo Molnar <mingo@kernel.org>2014-03-11 12:05:45 +0100
commit36fc5500bb1907bea7e9b4785dd00abf714d556f (patch)
tree0d1033485abe2aafc068c6b04d4b6d34c52cb730 /arch/ia64/include/asm/topology.h
parentsched/numa: Move task_numa_free() to __put_task_struct() (diff)
downloadlinux-36fc5500bb1907bea7e9b4785dd00abf714d556f.tar.xz
linux-36fc5500bb1907bea7e9b4785dd00abf714d556f.zip
sched: Remove unused mc_capable() and smt_capable()
Remove mc_capable() and smt_capable(). Neither is used. Both were added by 5c45bf279d37 ("sched: mc/smt power savings sched policy"). Uses of both were removed by 8e7fbcbc22c1 ("sched: Remove stale power aware scheduling remnants and dysfunctional knobs"). Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: David S. Miller <davem@davemloft.net> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Link: http://lkml.kernel.org/r/20140304210737.16893.54289.stgit@bhelgaas-glaptop.roam.corp.google.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/ia64/include/asm/topology.h')
-rw-r--r--arch/ia64/include/asm/topology.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/ia64/include/asm/topology.h b/arch/ia64/include/asm/topology.h
index a2496e449b75..5cb55a1e606b 100644
--- a/arch/ia64/include/asm/topology.h
+++ b/arch/ia64/include/asm/topology.h
@@ -77,7 +77,6 @@ void build_cpu_to_node_map(void);
#define topology_core_id(cpu) (cpu_data(cpu)->core_id)
#define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
#define topology_thread_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu))
-#define smt_capable() (smp_num_siblings > 1)
#endif
extern void arch_fix_phys_package_id(int num, u32 slot);