[lkml]   [2003]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: Linux v2.5.58
On Mon, Jan 13, 2003 at 10:14:29PM -0800, Linus Torvalds wrote:
> Summary of changes from v2.5.57 to v2.5.58
> ============================================
> Dominik Brodowski <>:
> o cpufreq: per-CPU initialization

This change broke the compilation of several cpufreq drivers:

<-- snip -->

gcc -Wp,-MD,arch/i386/kernel/cpu/cpufreq/.powernow-k6.o.d -D__KERNEL__
-Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=k6 -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include
-DKBUILD_BASENAME=powernow_k6 -DKBUILD_MODNAME=powernow_k6 -c -o
arch/i386/kernel/cpu/cpufreq/powernow-k6.c:230: macro
`cpufreq_unregister' used without args
make[3]: *** [arch/i386/kernel/cpu/cpufreq/powernow-k6.o] Error 1

<-- snip -->

It seems the following was intended:

--- linux-2.5.58/include/linux/cpufreq.h.old 2003-01-14 08:53:27.000000000 +0100
+++ linux-2.5.58/include/linux/cpufreq.h 2003-01-14 08:53:56.000000000 +0100
@@ -130,7 +130,7 @@
int cpufreq_unregister_driver(struct cpufreq_driver *driver_data);
/* deprecated */
#define cpufreq_register(x) cpufreq_register_driver(x)
-#define cpufreq_unregister(x) cpufreq_unregister_driver(NULL)
+#define cpufreq_unregister() cpufreq_unregister_driver(NULL)

void cpufreq_notify_transition(struct cpufreq_freqs *freqs, unsigned int state);



"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.097 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site