diff options
| author | Mel Gorman <[email protected]> | 2021-07-01 01:53:23 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-07-01 18:06:02 +0000 |
| commit | 5da96bdd93ed732685fb511d9889d3f6c5717fad (patch) | |
| tree | 42bb5a08cb75e930e814c91865e45db20a53a44a /mm/mapping_dirty_helpers.c | |
| parent | mm/vmscan: remove kerneldoc-like comment from isolate_lru_pages (diff) | |
| download | kernel-5da96bdd93ed732685fb511d9889d3f6c5717fad.tar.gz kernel-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/[email protected]
Signed-off-by: Mel Gorman <[email protected]>
Reviewed-by: Yang Shi <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Cc: Dan Streetman <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'mm/mapping_dirty_helpers.c')
0 files changed, 0 insertions, 0 deletions
