diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-11-22 17:33:24 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-11-30 10:03:35 -0800 |
commit | 31168481c32c8a485e1003af9433124dede57f8d (patch) | |
tree | 0d0bb17b8f45cb3b176acc63dee4f2a57aaca500 /mm/sparse.c | |
parent | ed313489badef16d700f5a3be50e8fd8f8294bc8 (diff) | |
download | lwn-31168481c32c8a485e1003af9433124dede57f8d.tar.gz lwn-31168481c32c8a485e1003af9433124dede57f8d.zip |
meminit section warnings
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/sparse.c')
-rw-r--r-- | mm/sparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/sparse.c b/mm/sparse.c index 39db301b920d..083f5b63e7a8 100644 --- a/mm/sparse.c +++ b/mm/sparse.c @@ -570,7 +570,7 @@ static void free_section_usemap(struct page *memmap, unsigned long *usemap) * set. If this is <=0, then that means that the passed-in * map was not consumed and must be freed. */ -int sparse_add_one_section(struct zone *zone, unsigned long start_pfn, +int __meminit sparse_add_one_section(struct zone *zone, unsigned long start_pfn, int nr_pages) { unsigned long section_nr = pfn_to_section_nr(start_pfn); |