From: Yinghai Lu Date: Mon, 11 Oct 2010 19:34:09 +0000 (-0700) Subject: memblock: Annotate memblock functions with __init_memblock X-Git-Tag: v2.6.37-rc1~183^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd79481d27b9f90aad80c9b972292c42c25bbf8e;p=pandora-kernel.git 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 Signed-off-by: Yinghai Lu LKML-Reference: <4CB366B1.40405@kernel.org> Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed