diff options
author | Ben Dooks (Codethink) <ben.dooks@codethink.co.uk> | 2019-12-01 02:54:10 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-12-01 21:59:04 +0100 |
commit | aba9817da150e9dcf4c599c0508c38d1971d66e1 (patch) | |
tree | 6c5c44432e9dd6ea8eff214fe16ae0a2ae463b2f /drivers | |
parent | mm/page_isolation.c: convert SKIP_HWPOISON to MEMORY_OFFLINE (diff) | |
download | linux-aba9817da150e9dcf4c599c0508c38d1971d66e1.tar.xz linux-aba9817da150e9dcf4c599c0508c38d1971d66e1.zip |
include/linux/memory_hotplug.h: move definitions of {set,clear}_zone_contiguous
The {set,clear}_zone_contiguous are built whatever the configuratoon so
move the definitions outside the current ifdef to avoid the following
compiler warnings:
mm/page_alloc.c:1550:6: warning: no previous prototype for 'set_zone_contiguous' [-Wmissing-prototypes]
mm/page_alloc.c:1571:6: warning: no previous prototype for 'clear_zone_contiguous' [-Wmissing-prototypes]
Link: http://lkml.kernel.org/r/20191106123911.7435-1-ben.dooks@codethink.co.uk
Signed-off-by: Ben Dooks (Codethink) <ben.dooks@codethink.co.uk>
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions