Commit:     64d158bc3db121fd2bec29057a44843930b044fa
Parent:     4a4b88317aa02c82e66e37debb764d4ff3eedd70
Author:     Sam Ravnborg <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 31 00:37:53 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Jul 31 15:39:38 2007 -0700

    alpha: fix two section mismatch warnings
    Fix the following section mismatch warnings:
    WARNING: o-alpha/vmlinux.o(.text+0x1a4d4): Section mismatch: reference to 
.init.text:free_area_init (between 'paging_init' and 'srm_paging_stop')
    WARNING: o-alpha/vmlinux.o(.text+0x1a4dc): Section mismatch: reference to 
.init.text:free_area_init (between 'paging_init' and 'srm_paging_stop')
    One instance of paging_init() was declared __init but not the other one -
    used by defconfig.  Fixed by declaring the second instance ___init too.
    Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>
    Cc: Ivan Kokshaysky <[EMAIL PROTECTED]>
    Cc: Richard Henderson <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 arch/alpha/mm/init.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/alpha/mm/init.c b/arch/alpha/mm/init.c
index 550f490..5e6da47 100644
--- a/arch/alpha/mm/init.c
+++ b/arch/alpha/mm/init.c
@@ -267,8 +267,7 @@ callback_init(void * kernel_end)
  * paging_init() sets up the memory map.
+void __init paging_init(void)
        unsigned long zones_size[MAX_NR_ZONES] = {0, };
        unsigned long dma_pfn, high_pfn;
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