sysctl: pass kernel pointers to ->proc_handler
[linux-block.git] / include / linux / kprobes.h
index 04bdaf01112cbd820bb8b4ac7c37353057b6f3f1..594265bfd390a60816b38242760ac6b6f26bb53b 100644 (file)
@@ -312,7 +312,7 @@ DEFINE_INSN_CACHE_OPS(optinsn);
 #ifdef CONFIG_SYSCTL
 extern int sysctl_kprobes_optimization;
 extern int proc_kprobes_optimization_handler(struct ctl_table *table,
-                                            int write, void __user *buffer,
+                                            int write, void *buffer,
                                             size_t *length, loff_t *ppos);
 #endif
 extern void wait_for_kprobe_optimizer(void);