generic: use __meminit annotation for crashlog_init_memblock
authorGabor Juhos <juhosg@openwrt.org>
Sun, 12 Aug 2012 10:30:41 +0000 (10:30 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 12 Aug 2012 10:30:41 +0000 (10:30 +0000)
commitb942309f4fb6b9268b59466e830e31fdea1f5f71
tree1d218728b3b36ccd1dd40bec45cf205c6c9e4ae2
parent0ef62afd40865d44533a726b0390df13802bfebc
generic: use __meminit annotation for crashlog_init_memblock

Fixes this section mismatch warning:
WARNING: vmlinux.o(.meminit.text+0xb14): Section mismatch in reference
from the function memblock_insert_region() to the function
.init.text:crashlog_init_memblock()
The function __meminit memblock_insert_region() references
a function __init crashlog_init_memblock().
If crashlog_init_memblock is only used by memblock_insert_region then
annotate crashlog_init_memblock with a matching annotation.

Also, remove the __init annotations from 'include/linux/crashlog.h'

SVN-Revision: 33137
target/linux/generic/patches-3.3/930-crashlog.patch