Commit:     f8281a2b661d5f4f8081b387886187bbf190b92d
Parent:     0bd327ef288923f4188050bae295661ed0fbb3fb
Author:     Sam Ravnborg <[EMAIL PROTECTED]>
AuthorDate: Fri Jun 1 00:47:10 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Fri Jun 1 08:18:30 2007 -0700

    microcode: fix section mismatch warning
    Fix the following section mismatch warnings in microcode.c:
    WARNING: arch/i386/kernel/built-in.o(.init.text+0x3966): Section mismatch: 
reference to .exit.text: (between 'microcode_init' and 'parse_maxcpus')
    WARNING: arch/i386/kernel/built-in.o(.init.text+0x3992): Section mismatch: 
reference to .exit.text: (between 'microcode_init' and 'parse_maxcpus')
    The warning are caused by a function marked __init that
    calls a function marked __exit.
    Functions marked __exit may be discarded either during link or run-time
    and thus the reference is not good.
    Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 arch/i386/kernel/microcode.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/i386/kernel/microcode.c b/arch/i386/kernel/microcode.c
index 83f825f..d865d04 100644
--- a/arch/i386/kernel/microcode.c
+++ b/arch/i386/kernel/microcode.c
@@ -478,7 +478,7 @@ static int __init microcode_dev_init (void)
        return 0;
-static void __exit microcode_dev_exit (void)
+static void microcode_dev_exit (void)
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