Commit:     1e296f578a8ef70b314315a2bfc7b036f947803f
Parent:     85b74d6c119a7dae882569e57925eaafecc07859
Author:     Sam Ravnborg <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 30 13:33:37 2008 +0100
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Wed Jan 30 13:33:37 2008 +0100

    x86: fix section mismatch warning in srat_64.c
    Fix the following warnings:
    WARNING: arch/x86/mm/built-in.o(.text+0x1abc): Section mismatch: reference 
to in 'unparse_node'
    WARNING: arch/x86/mm/built-in.o(.text+0x1ac6): Section mismatch: reference 
to in 'unparse_node'
    WARNING: arch/x86/mm/built-in.o(.text+0x1ad2): Section mismatch: reference 
to in 'unparse_node'
    unparse_node are static and only used by acpi_scan_nodes which
    is already annotated __init.
    So we annotate unparse_node with __init.
    Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>
 arch/x86/mm/srat_64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/mm/srat_64.c b/arch/x86/mm/srat_64.c
index 37308d6..65416f8 100644
--- a/arch/x86/mm/srat_64.c
+++ b/arch/x86/mm/srat_64.c
@@ -323,7 +323,7 @@ static int __init nodes_cover_memory(const struct bootnode 
        return 1;
-static void unparse_node(int node)
+static void __init unparse_node(int node)
        int i;
        node_clear(node, nodes_parsed);
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