kernel: fix section mismatch in crashlog
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 5 Mar 2016 16:23:50 +0000 (16:23 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 5 Mar 2016 16:23:50 +0000 (16:23 +0000)
commit944f79fec6f1d3955210d423e5e656a53cbc4800
tree16e5455d071d4202826fd55a3fcd2270c352ab33
parenta3804f621059e3818b914ed97543a3a4f605d18d
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>
SVN-Revision: 48931
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