diff options
author | Mel Gorman <mgorman@techsingularity.net> | 2021-07-01 03:53:23 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-07-01 20:06:02 +0200 |
commit | 5da96bdd93ed732685fb511d9889d3f6c5717fad (patch) | |
tree | 42bb5a08cb75e930e814c91865e45db20a53a44a /mm/page_alloc.c | |
parent | mm/vmscan: remove kerneldoc-like comment from isolate_lru_pages (diff) | |
download | linux-5da96bdd93ed732685fb511d9889d3f6c5717fad.tar.xz linux-5da96bdd93ed732685fb511d9889d3f6c5717fad.zip |
mm/vmalloc: include header for prototype of set_iounmap_nonlazy
make W=1 generates the following warning for mm/vmalloc.c
mm/vmalloc.c:1599:6: warning: no previous prototype for `set_iounmap_nonlazy' [-Wmissing-prototypes]
void set_iounmap_nonlazy(void)
^~~~~~~~~~~~~~~~~~~
This is an arch-generic function only used by x86. On other arches, it's
dead code. Include the header with the definition and make it x86-64
specific.
Link: https://lkml.kernel.org/r/20210520084809.8576-3-mgorman@techsingularity.net
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Reviewed-by: Yang Shi <shy828301@gmail.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Dan Streetman <ddstreet@ieee.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: Michal Hocko <mhocko@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions