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 <[email protected]>
---
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]