generic: use __meminit annotation for crashlog_init_memblock
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Aug 2012 10:30:41 +0000 (10:30 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Aug 2012 10:30:41 +0000 (10:30 +0000)
commit60b393ba86087ad50eafeb06730066681417e4cf
tree6e5ddcf638c01801097417e292c967ae3f41661a
parentcf9b6ece556cf198a8f844eded8613bf3abbf1ed
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'

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33137 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/patches-3.3/930-crashlog.patch