diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-06-23 05:04:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 10:42:54 -0400 |
commit | 7ab76d722a0d64369080ec96f0fd9fca2138e3c5 (patch) | |
tree | c28b92f88c5d3e267f3c587c3b170518ae612be5 /arch/frv/kernel/sysctl.c | |
parent | 9e4d11f8630d5350adc5d4d65180e69991c498f8 (diff) |
[PATCH] frv: sysctl __user annotations
Add __user annotations to FRV-specific sysctl stuff.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/frv/kernel/sysctl.c')
-rw-r--r-- | arch/frv/kernel/sysctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/frv/kernel/sysctl.c b/arch/frv/kernel/sysctl.c index 408b0f382b42..b908863d6593 100644 --- a/arch/frv/kernel/sysctl.c +++ b/arch/frv/kernel/sysctl.c | |||
@@ -49,7 +49,7 @@ static void frv_change_dcache_mode(unsigned long newmode) | |||
49 | * handle requests to dynamically switch the write caching mode delivered by /proc | 49 | * handle requests to dynamically switch the write caching mode delivered by /proc |
50 | */ | 50 | */ |
51 | static int procctl_frv_cachemode(ctl_table *table, int write, struct file *filp, | 51 | static int procctl_frv_cachemode(ctl_table *table, int write, struct file *filp, |
52 | void *buffer, size_t *lenp, loff_t *ppos) | 52 | void __user *buffer, size_t *lenp, loff_t *ppos) |
53 | { | 53 | { |
54 | unsigned long hsr0; | 54 | unsigned long hsr0; |
55 | char buff[8]; | 55 | char buff[8]; |
@@ -123,7 +123,7 @@ static int procctl_frv_cachemode(ctl_table *table, int write, struct file *filp, | |||
123 | */ | 123 | */ |
124 | #ifdef CONFIG_MMU | 124 | #ifdef CONFIG_MMU |
125 | static int procctl_frv_pin_cxnr(ctl_table *table, int write, struct file *filp, | 125 | static int procctl_frv_pin_cxnr(ctl_table *table, int write, struct file *filp, |
126 | void *buffer, size_t *lenp, loff_t *ppos) | 126 | void __user *buffer, size_t *lenp, loff_t *ppos) |
127 | { | 127 | { |
128 | pid_t pid; | 128 | pid_t pid; |
129 | char buff[16], *p; | 129 | char buff[16], *p; |