diff options
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; |