diff options
author | Rakib Mullick | 2009-12-15 02:59:44 +0100 |
---|---|---|
committer | Linus Torvalds | 2009-12-15 17:53:20 +0100 |
commit | 23ce932a5e3ec3b9f06e92c8797d834d43abfb0f (patch) | |
tree | a966c72393e3f6111e383528055518e251eeda9c /mm/rmap.c | |
parent | hugetlb: prevent deadlock in __unmap_hugepage_range() when alloc_huge_page() ... (diff) | |
download | kernel-qcow2-linux-23ce932a5e3ec3b9f06e92c8797d834d43abfb0f.tar.gz kernel-qcow2-linux-23ce932a5e3ec3b9f06e92c8797d834d43abfb0f.tar.xz kernel-qcow2-linux-23ce932a5e3ec3b9f06e92c8797d834d43abfb0f.zip |
mm: fix section mismatch in memory_hotplug.c
__free_pages_bootmem() is a __meminit function - which has been called
from put_pages_bootmem thus causes a section mismatch warning.
We were warned by the following warning:
LD mm/built-in.o
WARNING: mm/built-in.o(.text+0x26b22): Section mismatch in reference
from the function put_page_bootmem() to the function
.meminit.text:__free_pages_bootmem()
The function put_page_bootmem() references
the function __meminit __free_pages_bootmem().
This is often because put_page_bootmem lacks a __meminit
annotation or the annotation of __free_pages_bootmem is wrong.
Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Cc: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: Badari Pulavarty <pbadari@us.ibm.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions