[PATCH][2.6.8-rc3-mm2] ppc32 sysctl warning fix

From: Mikael Pettersson
Date: Mon Aug 09 2004 - 05:20:37 EST


One declaration of ppc32's proc_dol2crvec() wasn't converted
to the new calling convention (ppos parameter added), causing
compile-time warnings in kernel/sysctl.c. Trivial fix below.

/Mikael

--- linux-2.6.8-rc3-mm2/kernel/sysctl.c.~1~ 2004-08-09 01:16:41.000000000 +0200
+++ linux-2.6.8-rc3-mm2/kernel/sysctl.c 2004-08-09 02:07:30.000000000 +0200
@@ -120,7 +120,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
-
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/