Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f22d9bc1e87270586610216084b00cb2fb09abba
Commit:     f22d9bc1e87270586610216084b00cb2fb09abba
Parent:     75bc122c2dc4d497909248e85d86139e54c8fd13
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Tue Dec 4 17:19:07 2007 +0100
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Tue Dec 4 17:19:07 2007 +0100

    x86: free_cache_attributes() section fix
    
    free_cache_attributes() must be __cpuinit since it calls the
    __cpuinit cache_remove_shared_cpu_map().
    
    This patch fixes the following section mismatch reported by
    Chris Clayton:
    
     ...
     WARNING: vmlinux.o(.text+0x90b6): Section mismatch: reference to 
.init.text:cache_remove_shared_cpu_map (between 'free_cache_attributes' and 
'show_level')
     ...
    
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>
---
 arch/x86/kernel/cpu/intel_cacheinfo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/cpu/intel_cacheinfo.c 
b/arch/x86/kernel/cpu/intel_cacheinfo.c
index 9921b01..606fe4d 100644
--- a/arch/x86/kernel/cpu/intel_cacheinfo.c
+++ b/arch/x86/kernel/cpu/intel_cacheinfo.c
@@ -497,7 +497,7 @@ static void __cpuinit cache_shared_cpu_map_setup(unsigned 
int cpu, int index) {}
 static void __cpuinit cache_remove_shared_cpu_map(unsigned int cpu, int index) 
{}
 #endif
 
-static void free_cache_attributes(unsigned int cpu)
+static void __cpuinit free_cache_attributes(unsigned int cpu)
 {
        int i;
 
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to