Commit:     61d488da9bad8d1511d18291006bd2dd728f173d
Parent:     7671988b9cd31daf53fd38f8e75c8b881324842b
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Sat Jul 21 04:37:39 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Sat Jul 21 17:49:15 2007 -0700

    i386: intel_cacheinfo.c:find_num_cache_leaves() should be __cpuinit
    WARNING: arch/i386/kernel/built-in.o(.text+0xb6a7): Section mismatch: 
reference to .init.text:find_num_cache_leaves (between 'init_intel_cacheinfo' 
and 'cache_shared_cpu_map_setup')
    It could be __init_refok, but gcc >= 4.0 anyway inlines it into the
    __cpuinit init_intel_cacheinfo(), and IMHO it's too small for "noinline
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Cc: Andi Kleen <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 arch/i386/kernel/cpu/intel_cacheinfo.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/i386/kernel/cpu/intel_cacheinfo.c 
index e5be819..25b4b7d 100644
--- a/arch/i386/kernel/cpu/intel_cacheinfo.c
+++ b/arch/i386/kernel/cpu/intel_cacheinfo.c
@@ -239,8 +239,7 @@ static int __cpuinit cpuid4_cache_lookup(int index, struct 
_cpuid4_info *this_le
        return 0;
-/* will only be called once; __init is safe here */
-static int __init find_num_cache_leaves(void)
+static int __cpuinit find_num_cache_leaves(void)
        unsigned int            eax, ebx, ecx, edx;
        union _cpuid4_leaf_eax  cache_eax;
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