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)
commit21cf64b4ad001ac0ff1cc0d1e8a0fb61476a501a
tree456aca82f2c9019f7b6d51a15651bab5d67cc51f
parent837d4f8f41a18b2aa4a7689e5947391c788b2e20
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