From 980a74e2c46a5f8b8ae8ef4e73dbcc4bf26443b9 Mon Sep 17 00:00:00 2001 From: Luden Date: Thu, 7 Apr 2016 13:20:23 +0200 Subject: CMA fixes for kernel 3.0 --- include/linux/ksm.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/linux/ksm.h b/include/linux/ksm.h index 3319a69..3af13d3 100644 --- a/include/linux/ksm.h +++ b/include/linux/ksm.h @@ -89,6 +89,9 @@ int try_to_unmap_ksm(struct page *page, enum ttu_flags flags); int rmap_walk_ksm(struct page *page, int (*rmap_one)(struct page *, struct vm_area_struct *, unsigned long, void *), void *arg); void ksm_migrate_page(struct page *newpage, struct page *oldpage); +void ksm_start_migration(void); +void ksm_finalize_migration(unsigned long start_pfn, unsigned long nr_pages); +void ksm_abort_migration(void); #else /* !CONFIG_KSM */ -- cgit v1.1