From 123c66ee8147175762360e06188648fa7e6a15db Mon Sep 17 00:00:00 2001 From: Dominik Brodowski Date: Sun, 29 Dec 2002 20:29:16 -0800 Subject: [PATCH] cpufreq: deprecated usage of CPUFREQ_ALL_CPUS The usage of CPUFREQ_ALL_CPUS is deprecated. Only exception is cpufreq_set, which needs to iterate over all CPUS now. Also, remove some unneeded code. --- include/linux/cpufreq.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'include/linux') diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index e93501c7a0b8..542983a24130 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@ -103,14 +103,6 @@ static inline unsigned long cpufreq_scale(unsigned long old, u_int div, u_int mu }; -/********************************************************************* - * DYNAMIC CPUFREQ INTERFACE * - *********************************************************************/ -#ifdef CONFIG_CPU_FREQ_DYNAMIC -/* TBD */ -#endif /* CONFIG_CPU_FREQ_DYNAMIC */ - - /********************************************************************* * CPUFREQ DRIVER INTERFACE * *********************************************************************/ @@ -122,9 +114,6 @@ struct cpufreq_driver { cpufreq_policy_t verify; cpufreq_policy_t setpolicy; struct cpufreq_policy *policy; -#ifdef CONFIG_CPU_FREQ_DYNAMIC - /* TBD */ -#endif /* 2.4. compatible API */ #ifdef CONFIG_CPU_FREQ_24_API unsigned int cpu_cur_freq[NR_CPUS]; -- cgit v1.2.3