Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=16782a604c458e1edcefca52457a82395b788bed
Commit:     16782a604c458e1edcefca52457a82395b788bed
Parent:     c40b91b59de079583cde5f0c8e2c96d8af0f76a7
Author:     Stephen Rothwell <[EMAIL PROTECTED]>
AuthorDate: Wed Jul 25 09:29:19 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Thu Jul 26 16:12:18 2007 +1000

    [POWERPC] iSeries: Fix section mismatch warning in lpevents
    
    WARNING: vmlinux.o(.text+0x4f568): Section mismatch: reference to 
.init.text:.__alloc_bootmem (between '.setup_hvlpevent_queue' and 
'.process_hvlpevents')
    
    setup_hvlpevent_queue is only called from __init code so make it __init
    as well.
    
    Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/platforms/iseries/lpevents.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/platforms/iseries/lpevents.c 
b/arch/powerpc/platforms/iseries/lpevents.c
index 91df52a..34bdbbe 100644
--- a/arch/powerpc/platforms/iseries/lpevents.c
+++ b/arch/powerpc/platforms/iseries/lpevents.c
@@ -182,7 +182,7 @@ static int set_spread_lpevents(char *str)
 }
 __setup("spread_lpevents=", set_spread_lpevents);
 
-void setup_hvlpevent_queue(void)
+void __init setup_hvlpevent_queue(void)
 {
        void *eventStack;
 
-
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