Signed-off-by: Jan Blunck <jblunck@suse.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
/*
* handle requests to dynamically switch the write caching mode delivered by /proc
*/
/*
* handle requests to dynamically switch the write caching mode delivered by /proc
*/
-static int procctl_frv_cachemode(ctl_table *table, int write, struct file *filp,
- void __user *buffer, size_t *lenp, loff_t *ppos)
+static int procctl_frv_cachemode(ctl_table *table, int write,
+ void __user *buffer, size_t *lenp,
+ loff_t *ppos)
{
unsigned long hsr0;
char buff[8];
{
unsigned long hsr0;
char buff[8];
return -EFAULT;
*lenp = len;
return -EFAULT;
*lenp = len;
return 0;
} /* end procctl_frv_cachemode() */
return 0;
} /* end procctl_frv_cachemode() */
* permit the mm_struct the nominated process is using have its MMU context ID pinned
*/
#ifdef CONFIG_MMU
* permit the mm_struct the nominated process is using have its MMU context ID pinned
*/
#ifdef CONFIG_MMU
-static int procctl_frv_pin_cxnr(ctl_table *table, int write, struct file *filp,
- void __user *buffer, size_t *lenp, loff_t *ppos)
+static int procctl_frv_pin_cxnr(ctl_table *table, int write,
+ void __user *buffer, size_t *lenp,
+ loff_t *ppos)
{
pid_t pid;
char buff[16], *p;
{
pid_t pid;
char buff[16], *p;
}
/* read the currently pinned CXN */
}
/* read the currently pinned CXN */
return -EFAULT;
*lenp = len;
return -EFAULT;
*lenp = len;
return 0;
} /* end procctl_frv_pin_cxnr() */
return 0;
} /* end procctl_frv_pin_cxnr() */