rpms/cpuspeed/devel cpuspeed.init,1.5,1.6 cpuspeed.spec,1.30,1.31

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Feb 21 02:07:42 UTC 2006


Author: davej

Update of /cvs/dist/rpms/cpuspeed/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv24020

Modified Files:
	cpuspeed.init cpuspeed.spec 
Log Message:
Some ACPI BIOSes start counting CPUs at 0, some at 1. *sigh*  (#181673)




Index: cpuspeed.init
===================================================================
RCS file: /cvs/dist/rpms/cpuspeed/devel/cpuspeed.init,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- cpuspeed.init	15 Nov 2005 03:42:16 -0000	1.5
+++ cpuspeed.init	21 Feb 2006 02:07:36 -0000	1.6
@@ -26,7 +26,7 @@
 				# use ACPI as a fallback if its available.
 				if [ -f /proc/acpi/processor/CPU0/throttling ]; then
 					# Check we have throttling states available.
-					thr=`head -n1 /proc/acpi/processor/CPU0/throttling`
+					thr=`head -n1 -q /proc/acpi/processor/CPU*/throttling | uniq`
 					if [ "$thr" != "<not supported>" ]; then
 						/sbin/modprobe acpi-cpufreq
 					fi


Index: cpuspeed.spec
===================================================================
RCS file: /cvs/dist/rpms/cpuspeed/devel/cpuspeed.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- cpuspeed.spec	11 Feb 2006 21:38:27 -0000	1.30
+++ cpuspeed.spec	21 Feb 2006 02:07:36 -0000	1.31
@@ -72,6 +72,9 @@
 exit 0
 
 %changelog
+* Mon Feb 20 2006 Dave Jones <davej at redhat.com>
+- Some ACPI BIOSes start counting CPUs at 0, some at 1. *sigh*  (#181673)
+
 * Sat Feb 11 2006 Dave Jones <davej at redhat.com>
 - rebuild.
 




More information about the fedora-cvs-commits mailing list