projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sysctl: pass kernel pointers to ->proc_handler
[linux-2.6-block.git]
/
mm
/
compaction.c
diff --git
a/mm/compaction.c
b/mm/compaction.c
index 46f0fcc93081eded97384a8c19bdc98bf98759b2..d8cfb7b99a8375f316af8ea291638df78d4e33d2 100644
(file)
--- a/
mm/compaction.c
+++ b/
mm/compaction.c
@@
-2463,7
+2463,7
@@
int sysctl_compact_memory;
* /proc/sys/vm/compact_memory
*/
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)
{
if (write)
compact_nodes();