]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: mark get_cpu_leaves() with __cpuinit annotation
authorSergio Luis <sergio@larces.uece.br>
Sun, 28 Dec 2008 07:12:26 +0000 (04:12 -0300)
committerIngo Molnar <mingo@elte.hu>
Mon, 29 Dec 2008 12:11:18 +0000 (13:11 +0100)
Impact: fix section mismatch warning

Commit b2bb85549134c005e997e5a7ed303bda6a1ae738 ("x86: Remove cpumask games
in x86/kernel/cpu/intel_cacheinfo.c") introduced get_cpu_leaves(), which
references __cpuinit cpuid4_cache_lookup().

Mark get_cpu_leaves() with a __cpuinit annotation.

Signed-off-by: Sergio Luis <sergio@larces.uece.br>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/intel_cacheinfo.c

index fb7f946cb65ec139e6ec9c5ada4900c757482df3..7bd00a5656721c53aca53b3981b32a029f5e2555 100644 (file)
@@ -534,7 +534,7 @@ static void __cpuinit free_cache_attributes(unsigned int cpu)
        per_cpu(cpuid4_info, cpu) = NULL;
 }
 
-static void get_cpu_leaves(void *_retval)
+static void __cpuinit get_cpu_leaves(void *_retval)
 {
        int j, *retval = _retval, cpu = smp_processor_id();