sysctl: pass kernel pointers to ->proc_handler
[linux-block.git] / include / linux / compaction.h
index 4b898cdbdf056a6af0cbdf57967cde66e7f1de66..a0eabfbeb0e1a5b3d8ccd7c448f9b97a969f7d08 100644 (file)
@@ -86,7 +86,7 @@ static inline unsigned long compact_gap(unsigned int order)
 #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);
+                       void *buffer, size_t *length, loff_t *ppos);
 extern int sysctl_extfrag_threshold;
 extern int sysctl_compact_unevictable_allowed;