diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-02-05 07:29:35 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 18:44:19 +0100 |
commit | a322f8ab66f50b6c0dcdb59abae84fede7a5fded (patch) | |
tree | de492ded59ef0ed1f1705244f51e46628fa26603 /fs | |
parent | mm: fix PageUptodate data race (diff) | |
download | linux-a322f8ab66f50b6c0dcdb59abae84fede7a5fded.tar.xz linux-a322f8ab66f50b6c0dcdb59abae84fede7a5fded.zip |
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 .init.text:__alloc_bootmem_node()
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 <sam@ravnborg.org>
Cc: Andy Whitcroft <apw@shadowen.org>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions