RE: [PATCH] Fix cpufreq_{conservative,ondemand} compilation

From: Pallipadi, Venkatesh
Date: Fri Jun 23 2006 - 13:34:36 EST



Thanks for the patch. Yes, I had missed this warning as some other patch
in my local tree was adding cpu.h to cpufreq_ondemand.c

Thanks,
Venki

>-----Original Message-----
>From: Jean Delvare [mailto:khali@xxxxxxxxxxxx]
>Sent: Friday, June 23, 2006 3:13 AM
>To: Pallipadi, Venkatesh
>Cc: LKML
>Subject: [PATCH] Fix cpufreq_{conservative,ondemand} compilation
>
>Fix cpufreq_conservative and cpufreq_ondemand, which were using
>{lock,unlock}_cpu_hotplug without including linux/cpu.h which defines
>them.
>
>Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>
>---
> drivers/cpufreq/cpufreq_conservative.c | 1 +
> drivers/cpufreq/cpufreq_ondemand.c | 1 +
> 2 files changed, 2 insertions(+)
>
>---
>linux-2.6.17-git.orig/drivers/cpufreq/cpufreq_conservative.c
>2006-06-23 10:24:17.000000000 +0200
>+++ linux-2.6.17-git/drivers/cpufreq/cpufreq_conservative.c
>2006-06-23 12:07:42.000000000 +0200
>@@ -17,6 +17,7 @@
> #include <linux/init.h>
> #include <linux/interrupt.h>
> #include <linux/ctype.h>
>+#include <linux/cpu.h>
> #include <linux/cpufreq.h>
> #include <linux/sysctl.h>
> #include <linux/types.h>
>--- linux-2.6.17-git.orig/drivers/cpufreq/cpufreq_ondemand.c
>2006-06-23 10:24:17.000000000 +0200
>+++ linux-2.6.17-git/drivers/cpufreq/cpufreq_ondemand.c
>2006-06-23 12:07:34.000000000 +0200
>@@ -16,6 +16,7 @@
> #include <linux/init.h>
> #include <linux/interrupt.h>
> #include <linux/ctype.h>
>+#include <linux/cpu.h>
> #include <linux/cpufreq.h>
> #include <linux/sysctl.h>
> #include <linux/types.h>
>
>
>--
>Jean Delvare
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/