kernel: fix section mismatch in crashlog
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 5 Mar 2016 16:23:50 +0000 (16:23 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 5 Mar 2016 16:23:50 +0000 (16:23 +0000)
commitc7e64b14dc18aa2bf5bbe2fe34838810b0b9a080
tree16e5455d071d4202826fd55a3fcd2270c352ab33
parent5837e57f9e9ac1096e712fb7a22a24443af6fb37
kernel: fix section mismatch in crashlog

The function memblock_insert_region() is in the section
__init_memblock, also put crashlog_init_memblock there.

This fixes this section mismatch warning:
The function memblock_insert_region.isra.1() references
the function __meminit crashlog_init_memblock().
This is often because memblock_insert_region.isra.1 lacks a __meminit
annotation or the annotation of crashlog_init_memblock is wrong.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48931 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/patches-3.18/930-crashlog.patch
target/linux/generic/patches-4.1/930-crashlog.patch
target/linux/generic/patches-4.3/930-crashlog.patch
target/linux/generic/patches-4.4/930-crashlog.patch