aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/page-isolation.h
diff options
context:
space:
mode:
authorPingfan Liu <kernelfans@gmail.com>2019-07-11 20:54:49 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-07-12 11:05:43 -0700
commit1fcf0a561cd09d7fb7f7afa2ddfe05f72f32050e (patch)
tree6d447f17d7827f03ca7a42bc437e4b478e9f14ce /include/linux/page-isolation.h
parentmm: remove the account_page_dirtied export (diff)
downloadwireguard-linux-1fcf0a561cd09d7fb7f7afa2ddfe05f72f32050e.tar.xz
wireguard-linux-1fcf0a561cd09d7fb7f7afa2ddfe05f72f32050e.zip
mm/page_isolation.c: change the prototype of undo_isolate_page_range()
undo_isolate_page_range() never fails, so no need to return value. Link: http://lkml.kernel.org/r/1562075604-8979-1-git-send-email-kernelfans@gmail.com Signed-off-by: Pingfan Liu <kernelfans@gmail.com> Acked-by: Michal Hocko <mhocko@suse.com> Reviewed-by: Oscar Salvador <osalvador@suse.de> Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com> Cc: Qian Cai <cai@lca.pw> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/page-isolation.h')
-rw-r--r--include/linux/page-isolation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/page-isolation.h b/include/linux/page-isolation.h
index 280ae96dc4c3..1099c2fee20f 100644
--- a/include/linux/page-isolation.h
+++ b/include/linux/page-isolation.h
@@ -50,7 +50,7 @@ start_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn,
* Changes MIGRATE_ISOLATE to MIGRATE_MOVABLE.
* target range is [start_pfn, end_pfn)
*/
-int
+void
undo_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn,
unsigned migratetype);