summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorBjorn Helgaas2014-03-04 22:07:37 +0100
committerIngo Molnar2014-03-11 12:05:45 +0100
commit36fc5500bb1907bea7e9b4785dd00abf714d556f (patch)
tree0d1033485abe2aafc068c6b04d4b6d34c52cb730 /arch/powerpc/include
parentsched/numa: Move task_numa_free() to __put_task_struct() (diff)
downloadkernel-qcow2-linux-36fc5500bb1907bea7e9b4785dd00abf714d556f.tar.gz
kernel-qcow2-linux-36fc5500bb1907bea7e9b4785dd00abf714d556f.tar.xz
kernel-qcow2-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/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/topology.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/topology.h b/arch/powerpc/include/asm/topology.h
index d0b5fca6b077..c9202151079f 100644
--- a/arch/powerpc/include/asm/topology.h
+++ b/arch/powerpc/include/asm/topology.h
@@ -99,7 +99,6 @@ static inline int prrn_is_enabled(void)
#ifdef CONFIG_SMP
#include <asm/cputable.h>
-#define smt_capable() (cpu_has_feature(CPU_FTR_SMT))
#ifdef CONFIG_PPC64
#include <asm/smp.h>