2003-01-13 22:57:51

by Patrick Mochel

[permalink] [raw]
Subject: [patch] fix cpufreq compilation


This is needed to compile kernel/cpufreq.c if the legacy procfs interface
is not enabled in the latest BK tree.

-pat

===== kernel/cpufreq.c 1.13 vs edited =====
--- 1.13/kernel/cpufreq.c Mon Jan 13 15:57:39 2003
+++ edited/kernel/cpufreq.c Mon Jan 13 16:05:24 2003
@@ -21,6 +21,7 @@
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/device.h>
+#include <linux/slab.h>

#ifdef CONFIG_CPU_FREQ_PROC_INTF
#include <linux/ctype.h>