summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2009-04-11 07:43:58 -0500
committerVictor Lowther <victor.lowther@gmail.com>2009-04-11 07:44:54 -0500
commit46e3db3d321579217edbea90c1ddf6f98ea1f38b (patch)
treee4328c84593eb4c4ed76af218a95746cc62033e4
parent11176a7d37f6a0854c8d9e338d972299589788dd (diff)
Use sched_smt_power_savings.
There is no sched_smp_power_savings tunable. Thanks, Michael Biebl!
-rw-r--r--pm/power.d/sched-powersave6
1 files changed, 3 insertions, 3 deletions
diff --git a/pm/power.d/sched-powersave b/pm/power.d/sched-powersave
index ac71ec0..63e58d0 100644
--- a/pm/power.d/sched-powersave
+++ b/pm/power.d/sched-powersave
@@ -1,7 +1,7 @@
#!/bin/sh
path_mc="/sys/devices/system/cpu/sched_mc_power_savings"
-path_smp="/sys/devices/system/cpu/sched_smp_power_savings"
+path_smt="/sys/devices/system/cpu/sched_smt_power_savings"
val=0
case "$1" in
@@ -24,8 +24,8 @@ esac
if [ -w "$path_mc" ] ; then
echo $val > $path_mc
fi
-if [ -w "$path_smp" ] ; then
- echo $val > $path_smp
+if [ -w "$path_smt" ] ; then
+ echo $val > $path_smt
fi
exit 0