Commit:     124d795d16b018b054956c9be561f889acf95ac4
Parent:     109b60f0bc1306192c765875badcaa5f3850a0a1
Author:     Stephen Rothwell <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 15 20:55:57 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Fri Aug 17 11:02:06 2007 +1000

    [POWERPC] Fix section mismatches in udbg_adb.c
    The functions are only called from __init functions.
    WARNING: vmlinux.o(.text+0x45ed0): Section mismatch: reference to 
.init.text:.btext_find_display (between '.udbg_adb_init_early' and 
    WARNING: vmlinux.o(.text+0x45f9c): Section mismatch: reference to 
.init.text:.btext_find_display (between '.udbg_adb_init' and 
    WARNING: vmlinux.o(.text+0x46000): Section mismatch: reference to 
.init.text:.find_via_pmu (between '.udbg_adb_init' and '.udbg_adb_getc_poll')
    Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
 arch/powerpc/platforms/powermac/udbg_adb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/platforms/powermac/udbg_adb.c 
index b1882e4..44e0b55 100644
--- a/arch/powerpc/platforms/powermac/udbg_adb.c
+++ b/arch/powerpc/platforms/powermac/udbg_adb.c
@@ -149,7 +149,7 @@ static void udbg_adb_putc(char c)
                return udbg_adb_old_putc(c);
-void udbg_adb_init_early(void)
+void __init udbg_adb_init_early(void)
        if (btext_find_display(1) == 0) {
@@ -159,7 +159,7 @@ void udbg_adb_init_early(void)
-int udbg_adb_init(int force_btext)
+int __init udbg_adb_init(int force_btext)
        struct device_node *np;
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