diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2016-03-05 16:23:50 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2016-03-05 16:23:50 +0000 |
commit | f8e83654e40b6ac89f80fac8eb30de145a12c716 (patch) | |
tree | 16e5455d071d4202826fd55a3fcd2270c352ab33 /target/linux/generic/patches-4.4 | |
parent | 707630c3ad443626b9d2e8a59295bb5c7d834d3a (diff) | |
download | master-187ad058-f8e83654e40b6ac89f80fac8eb30de145a12c716.tar.gz master-187ad058-f8e83654e40b6ac89f80fac8eb30de145a12c716.tar.bz2 master-187ad058-f8e83654e40b6ac89f80fac8eb30de145a12c716.zip |
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
Diffstat (limited to 'target/linux/generic/patches-4.4')
-rw-r--r-- | target/linux/generic/patches-4.4/930-crashlog.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-4.4/930-crashlog.patch b/target/linux/generic/patches-4.4/930-crashlog.patch index bb6805b1e9..514ff469d8 100644 --- a/target/linux/generic/patches-4.4/930-crashlog.patch +++ b/target/linux/generic/patches-4.4/930-crashlog.patch @@ -121,7 +121,7 @@ +#endif + +#ifdef CONFIG_HAVE_MEMBLOCK -+void __meminit crashlog_init_memblock(phys_addr_t addr, phys_addr_t size) ++void __init_memblock crashlog_init_memblock(phys_addr_t addr, phys_addr_t size) +{ + if (crashlog_addr) + return; |