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)
commit9857e853265ab70c05b9957de1e741c50be0c637
tree6e5ddcf638c01801097417e292c967ae3f41661a
parent8c2794eee8aa9d9550e96ed94f746ae331edd844
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