aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLuden <luden@ghostmail.com>2016-04-07 13:20:23 +0200
committerZiyan <jaraidaniel@gmail.com>2016-05-01 23:35:47 +0200
commit980a74e2c46a5f8b8ae8ef4e73dbcc4bf26443b9 (patch)
treec6b2cec1fc791963579ac1becb119d2139e478c7 /include
parenta62e05e883fbbb201f6f89453849452c32d79429 (diff)
downloadkernel_samsung_tuna-980a74e2c46a5f8b8ae8ef4e73dbcc4bf26443b9.zip
kernel_samsung_tuna-980a74e2c46a5f8b8ae8ef4e73dbcc4bf26443b9.tar.gz
kernel_samsung_tuna-980a74e2c46a5f8b8ae8ef4e73dbcc4bf26443b9.tar.bz2
CMA fixes for kernel 3.0
Diffstat (limited to 'include')
-rw-r--r--include/linux/ksm.h3
1 files changed, 3 insertions, 0 deletions
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 */