]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] ppc32: Fix warning on CONFIG_PPC32 && CONFIG_6xx
authorTom Rini <trini@kernel.crashing.org>
Thu, 12 Aug 2004 11:24:36 +0000 (04:24 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 12 Aug 2004 11:24:36 +0000 (04:24 -0700)
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 <trini@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sysctl.c

index 2a643c00e9ad6cee17ed9ee0022709abf9489f4e..3905df6f026f2d5b2ceb4561f51c42ccea1bc085 100644 (file)
@@ -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