diff options
author | Olof Johansson <olof@lixom.net> | 2019-12-18 01:18:49 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2020-01-25 18:18:18 +0000 |
commit | 31f3010e60522ede237fb145a63b4af5a41718c2 (patch) | |
tree | f7929072386b4cf076ffcee1248cde8a6bd8b530 /arch/arm/Kconfig | |
parent | ARM: 8948/1: Prevent OOB access in stacktrace (diff) | |
download | linux-dev-31f3010e60522ede237fb145a63b4af5a41718c2.tar.xz linux-dev-31f3010e60522ede237fb145a63b4af5a41718c2.zip |
ARM: 8949/1: mm: mark free_memmap as __init
As of commit ac7c3e4ff401 ("compiler: enable CONFIG_OPTIMIZE_INLINING
forcibly"), free_memmap() might not always be inlined, and thus is
triggering a section warning:
WARNING: vmlinux.o(.text.unlikely+0x904): Section mismatch in reference from the function free_memmap() to the function .meminit.text:memblock_free()
Mark it as __init, since the faller (free_unused_memmap) already is.
Fixes: ac7c3e4ff401 ("compiler: enable CONFIG_OPTIMIZE_INLINING forcibly")
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
0 files changed, 0 insertions, 0 deletions