summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.c
diff options
context:
space:
mode:
authorYinghai Lu2010-10-11 21:34:09 +0200
committerH. Peter Anvin2010-10-12 01:00:52 +0200
commitcd79481d27b9f90aad80c9b972292c42c25bbf8e (patch)
tree36a04b373218c594d7ff8c3a246da79e0c6632c3 /drivers/md/raid1.c
parentmemblock: Allow memblock_init to be called early (diff)
downloadkernel-qcow2-linux-cd79481d27b9f90aad80c9b972292c42c25bbf8e.tar.gz
kernel-qcow2-linux-cd79481d27b9f90aad80c9b972292c42c25bbf8e.tar.xz
kernel-qcow2-linux-cd79481d27b9f90aad80c9b972292c42c25bbf8e.zip
memblock: Annotate memblock functions with __init_memblock
Stephen found WARNING: mm/built-in.o(.text+0x25ab8): Section mismatch in reference from the function memblock_find_base() to the function .init.text:memblock_find_region() The function memblock_find_base() references the function __init memblock_find_region(). This is often because memblock_find_base lacks a __init annotation or the annotation of memblock_find_region is wrong. So let memblock_find_region() to use __init_memblock instead of __init directly. Also fix one function that did not have __init* to be __init_memblock. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Yinghai Lu <yinghai@kernel.org> LKML-Reference: <4CB366B1.40405@kernel.org> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions