From 59635f61873e95723c951e25c619782f66126a94 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 12 Aug 2004 04:24:36 -0700 Subject: [PATCH] ppc32: Fix warning on CONFIG_PPC32 && CONFIG_6xx In the *ppos cleanups, proc_dol2crvec was updated, but the prototype found at the top of kernel/sysctl.h was not, generating warning. This corrects the prototype to match the code. (I'm gonna take a stab at moving these into arch/ppc shortly) Signed-off-by: Tom Rini Signed-off-by: Linus Torvalds --- kernel/sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel') diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 2a643c00e9ad..3905df6f026f 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -113,7 +113,7 @@ extern int sysctl_hz_timer; #if defined(CONFIG_PPC32) && defined(CONFIG_6xx) extern unsigned long powersave_nap; int proc_dol2crvec(ctl_table *table, int write, struct file *filp, - void __user *buffer, size_t *lenp); + void __user *buffer, size_t *lenp, loff_t *ppos); #endif #ifdef CONFIG_BSD_PROCESS_ACCT -- cgit v1.2.3