[PATCH] ppc32: Fix warning on CONFIG_PPC32 && CONFIG_6xx

From: Tom Rini
Date: Thu Aug 12 2004 - 14:52:12 EST


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@xxxxxxxxxxxxxxxxxxx>

===== kernel/sysctl.c 1.82 vs edited =====
--- 1.82/kernel/sysctl.c 2004-08-07 23:43:41 -07:00
+++ edited/kernel/sysctl.c 2004-08-12 12:45:43 -07:00
@@ -113,7 +113,7 @@
#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

--
Tom Rini
http://gate.crashing.org/~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/