Commit:     a322f8ab66f50b6c0dcdb59abae84fede7a5fded
Parent:     0ed361dec36945f3116ee1338638ada9a8920905
Author:     Sam Ravnborg <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 4 22:29:35 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Feb 5 09:44:19 2008 -0800

    mm: fix section mismatch warning in sparse.c
    Fix following warning:
    WARNING: mm/built-in.o(.text+0x22069): Section mismatch in reference from 
the function sparse_early_usemap_alloc() to the function 
    static sparse_early_usemap_alloc() were used only by sparse_init()
    and with sparse_init() annotated _init it is safe to
    annotate sparse_early_usemap_alloc with __init too.
    Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>
    Cc: Andy Whitcroft <[EMAIL PROTECTED]>
    Cc: Mel Gorman <[EMAIL PROTECTED]>
    Cc: Christoph Lameter <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 mm/sparse.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mm/sparse.c b/mm/sparse.c
index 7859c80..f6a43c0 100644
--- a/mm/sparse.c
+++ b/mm/sparse.c
@@ -237,7 +237,7 @@ static unsigned long *__kmalloc_section_usemap(void)
-static unsigned long *sparse_early_usemap_alloc(unsigned long pnum)
+static unsigned long *__init sparse_early_usemap_alloc(unsigned long pnum)
        unsigned long *usemap;
        struct mem_section *ms = __nr_to_section(pnum);
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