lkml.org 
[lkml]   [2004]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateThu, 12 Aug 2004 12:49:44 -0700
FromTom Rini <>
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 <trini@kernel.crashing.org>

===== 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [from the cache]
©2003-2010