mm: compaction: add /proc trigger for memory compaction
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / linux / compaction.h
index 465ca88..5723888 100644 (file)
@@ -6,4 +6,10 @@
 #define COMPACT_PARTIAL                1
 #define COMPACT_COMPLETE       2
 
+#ifdef CONFIG_COMPACTION
+extern int sysctl_compact_memory;
+extern int sysctl_compaction_handler(struct ctl_table *table, int write,
+                       void __user *buffer, size_t *length, loff_t *ppos);
+#endif /* CONFIG_COMPACTION */
+
 #endif /* _LINUX_COMPACTION_H */