Commit:     a33234735b2bcfb23cf1facb1f0d8656b8edab8f
Parent:     771cceb464874d4a22efd4a600e4597ad3f2fc9e
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Mon Dec 17 16:20:03 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon Dec 17 19:28:16 2007 -0800

    drivers/cpufreq/cpufreq_stats.c section fix
    cpufreq_stats_free_table() mustn't be __cpuexit since it's called by the
    __cpuinit cpufreq_stat_cpu_callback().
    This patch fixes the following section mismatch reported by
    Chris Clayton:
    WARNING: vmlinux.o(.init.text+0x143dd): Section mismatch: reference to 
.exit.text:cpufreq_stats_free_table (between 'cpufreq_stat_cpu_callback' and 
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Cc: Chris Clayton <[EMAIL PROTECTED]>
    Acked-by: Dave Jones <[EMAIL PROTECTED]>
    Cc: Russell King <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 drivers/cpufreq/cpufreq_stats.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/cpufreq/cpufreq_stats.c b/drivers/cpufreq/cpufreq_stats.c
index 8a45d0f..1b8312b 100644
--- a/drivers/cpufreq/cpufreq_stats.c
+++ b/drivers/cpufreq/cpufreq_stats.c
@@ -164,7 +164,7 @@ freq_table_get_index(struct cpufreq_stats *stat, unsigned 
int freq)
        return -1;
-static void __cpuexit cpufreq_stats_free_table(unsigned int cpu)
+static void cpufreq_stats_free_table(unsigned int cpu)
        struct cpufreq_stats *stat = cpufreq_stats_table[cpu];
        struct cpufreq_policy *policy = cpufreq_cpu_get(cpu);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to