2.4.20-pre10-ac2 -- cpufreq
PATCH 1/1 2.4.20-pre10-ac2 -- cpufreq
cpufreq.c: In function `cpufreq_notify_transition':
cpufreq.c:941: i' undeclared (first use in this function) cpufreq.c:941: (Each undeclared identifier is reported only once cpufreq.c:941: for each function it appears in.) cpufreq.c: In function cpufreq_restore':
cpufreq.c:1068: warning: statement with no effect make[2]: *** [cpufreq.o] Error 1
make[2]: Leaving directory `/root/linux-2.4.19/kernel' make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/root/linux-2.4.19/kernel'
make: *** [_dir_kernel] Error 2
you can add a 'int i'
stargate kernel # diff -urH cpufreq.c.old cpufreq.c
cpufreq.c 2002-10-07 21:17:27.000000000 +0200 renamed from cpufreq.c.old 2002-10-07 21:17:09.000000000 +0200 +0 -0
@@ -927,6 +927,7 @@ */ void cpufreq_notify_transition(struct cpufreq_freqs *freqs, unsigned int state) {
+ int i;
down(&cpufreq_notifier_sem);
switch (state) {
case CPUFREQ_PRECHANGE:
stargate kernel # Best Regards
Stephane Wirtel
Signature · 3 lines
Stephane Wirtel <[email protected]> LinuxMons : www.linux-mons.be GPG ID : 1024D/C9C16DA7 | 5331 0B5B 21F0 0363 EACD B73E 3D11 E5BC C9C1 6DA7
cpufreq.c renamed from cpufreq.c.old +1 -0
@@ -927,6 +927,7 @@*/ void cpufreq_notify_transition (struct cpufreq_freqs *freqs,unsigned int state) { +int i;down (&cpufreq_notifier_sem);switch (state) {case CPUFREQ_PRECHANGE :