Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=0bf55f8aae53b77efa3433777c68cc7423714075

commit 0bf55f8aae53b77efa3433777c68cc7423714075
Author: crazy <[email protected]>
Date:   Sat Jan 6 01:23:06 2018 +0100

kernel-4.14.11-2-x86_64

* cpupower.sh: --perf-bias is Intel only

diff --git a/source/base/kernel/cpupower.sh b/source/base/kernel/cpupower.sh
index 33b094e..7bc899c 100644
--- a/source/base/kernel/cpupower.sh
+++ b/source/base/kernel/cpupower.sh
@@ -34,7 +34,9 @@ fi
_options=""

if test -n "$perf_bias"; then
-       _add_option "--perf-bias $perf_bias"
+       if grep -q 'Intel' /proc/cpuinfo; then
+               _add_option "--perf-bias $perf_bias"
+       fi
fi

if test -n "$_options"; then
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to