Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=da5968ae305ab5209ebc2502ef6a8fbf2cce536c
Commit:     da5968ae305ab5209ebc2502ef6a8fbf2cce536c
Parent:     d01b9ad56e2cc7b6204b89ef10a53e78d70b5877
Author:     Sam Ravnborg <[EMAIL PROTECTED]>
AuthorDate: Sun Feb 17 13:22:59 2008 +0100
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Tue Feb 19 16:18:31 2008 +0100

    x86: fix section mismatch in head_64.S:initial_code
    
    initial_code are initially used to hold a function pointer
    from __init and later from __cpuinit. This confuses modpost
    and changing initial_code to REFDATA silence the warning.
    (But now we do not discard the variable anymore).
    
    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/head_64.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S
index 53e5820..eb41504 100644
--- a/arch/x86/kernel/head_64.S
+++ b/arch/x86/kernel/head_64.S
@@ -255,7 +255,7 @@ ENTRY(secondary_startup_64)
        lretq
 
        /* SMP bootup changes these two */
-       __CPUINITDATA
+       __REFDATA
        .align  8
        ENTRY(initial_code)
        .quad   x86_64_start_kernel
-
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