diff options
author | 2016-01-15 16:57:11 -0800 | |
---|---|---|
committer | 2016-01-15 17:56:32 -0800 | |
commit | 036fbb21de7c74d5637bf41110c47005363f3000 (patch) | |
tree | 381358d8baa91fddd34fe08a3524b3f0a071c193 /mm/vmalloc.c | |
parent | s390/mm: enable fixup_user_fault retrying (diff) | |
download | wireguard-linux-036fbb21de7c74d5637bf41110c47005363f3000.tar.xz wireguard-linux-036fbb21de7c74d5637bf41110c47005363f3000.zip |
memblock: fix section mismatch
allmodconfig produces following warning for me:
WARNING: vmlinux.o(.text.unlikely+0x10314): Section mismatch in reference from the function movable_node_is_enabled() to the variable .meminit.data:movable_node_enabled
The function movable_node_is_enabled() references
the variable __meminitdata movable_node_enabled.
This is often because movable_node_is_enabled lacks a __meminitdata
annotation or the annotation of movable_node_enabled is wrong.
Let's mark the function with __meminit. It fixes the warning.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions