Hi,
The android-2.6.29 branch is broken due to recently
change by Mike Chan <[email protected]>
if CONFIG_CPU_FREQ_STAT is not defined.

The attached patch fixes the issue.

PS. I've tried to repo upload the patch,
    but failed due to unknown reason.
    I also tried to send email to Mike directly,
    but no response.
    So I sent the patch here and hope
    someone can help.


Regards,
--
Chih-Wei
Android-x86 Project
http://www.android-x86.org

--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
From 74b0e935ca60df23788227e5a82347a35e088a5b Mon Sep 17 00:00:00 2001
From: Chih-Wei Huang <[email protected]>
Date: Tue, 9 Feb 2010 17:23:33 +0800
Subject: [PATCH] fix parameters in macro cpufreq_exit_idle

---
 include/linux/cpufreq.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
index 83fcfa7..37b9a16 100644
--- a/include/linux/cpufreq.h
+++ b/include/linux/cpufreq.h
@@ -255,7 +255,7 @@ void cpufreq_notify_transition(struct cpufreq_freqs *freqs, 
unsigned int state);
 #ifdef CONFIG_CPU_FREQ_STAT
 extern void cpufreq_exit_idle(int cpu, unsigned long ticks);
 #else
-#define cpufreq_exit_idle(int cpu, unsigned long ticks) do {} while (0)
+#define cpufreq_exit_idle(cpu, ticks) do {} while (0)
 #endif
 
 static inline void cpufreq_verify_within_limits(struct cpufreq_policy *policy, 
unsigned int min, unsigned int max) 
-- 
1.6.6

Reply via email to