]> git.pld-linux.org Git - packages/laptop-mode-tools.git/blame - cpufreq-pstate.patch
- use arm macro, versioned Obsoletes; obsolete also individual packages, not just...
[packages/laptop-mode-tools.git] / cpufreq-pstate.patch
CommitLineData
19fea16d
JR
1--- laptop-mode-tools-1.71/usr/share/laptop-mode-tools/modules/cpufreq.orig 2017-03-04 02:02:25.558983334 +0100
2+++ laptop-mode-tools-1.71/usr/share/laptop-mode-tools/modules/cpufreq 2017-03-04 02:03:04.729972792 +0100
3@@ -45,11 +45,6 @@
4 CPU_IGNORE_NICE_LOAD="$BATT_CPU_IGNORE_NICE_LOAD"
5 fi
6 for THISCPU in /sys/devices/system/cpu/* ; do
7- if [ -f "$THISCPU/cpufreq/scaling_driver" ] &&
8- [ "$(cat $THISCPU/cpufreq/scaling_driver)" = "intel_pstate" ]
9- then
10- continue # intel_pstate is a bit different - so it should be handled by its own module
11- fi
12 if [ -e $THISCPU/cpufreq/cpuinfo_min_freq ]; then
13 THIS_CPU_MAXFREQ="$CPU_MAXFREQ"
14 THIS_CPU_MINFREQ="$CPU_MINFREQ"
This page took 0.088475 seconds and 4 git commands to generate.