Commit:     04d733bd3588fda8934591fdb0a3d719c5ec8fa0
Parent:     08acb672624ece2d9234817570a0b3332cc8dae3
Author:     Sam Ravnborg <[EMAIL PROTECTED]>
AuthorDate: Sun Feb 17 13:22:47 2008 +0100
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Tue Feb 19 16:18:30 2008 +0100

    x86: fix section mismatch in setup_64.c:srat_detect_node
    srat_detect_node() is only used by __cpuinit init_intel().
    So the trivial fix is to annotate srat_detect_node() with __cpuinit.
    Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>
    Cc: Sam Ravnborg <[EMAIL PROTECTED]>
    Cc: Andrew Morton <[EMAIL PROTECTED]>
    Cc: H. Peter Anvin <[EMAIL PROTECTED]>
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>
 arch/x86/kernel/setup_64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
index ff9029d..e186617 100644
--- a/arch/x86/kernel/setup_64.c
+++ b/arch/x86/kernel/setup_64.c
@@ -791,7 +791,7 @@ static int __cpuinit intel_num_cpu_cores(struct cpuinfo_x86 
                return 1;
-static void srat_detect_node(void)
+static void __cpuinit srat_detect_node(void)
        unsigned node;
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