`wakeup_bdflush' was defines in two defrent files.
linuxppc_2_4_devel/drivers/char/sysrq.c (line: 35)
extern void wakeup_bdflush(int);
linuxppc_2_4_devel/include/linux/fs.h (line: 1347)
extern void wakeup_bdflush(void);
MATSUURA Takanori @ Division of Protein Chemistry,
Institute for Protein Research, Osaka University, Japan
E-Mail: t-matsuu@protein.osaka-u.ac.jp
Web Page: http://chux1.protein.osaka-u.ac.jp/~t-matsuu/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
if it's same extern , it's no problem.
Different paramenter is no good.
Right. I should have supplied more info about what I have tried.
I attempted to make everything consistent each way. IOW, I have made
the function definition and extern declarations all with a void
argument, and also all with an int argument. In one case, the
compiler error is "too many arguments in wakeup_bdflush" and in the
other case the compiler error is "too few arguments in
wakeup_bdflush".
I have noted numerous instances of wakeup_bdflush() and
wakeup_bdflush(0) but I'm not sure this is an issue.
There's an inconsistency here that first appeared straightforward to
me but now I'm not sure of the changes that are needed.
I rsynced this morning but still the same result.
Stefan Jeglinski
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
From: Stefan Jeglinski <hidden> Date: 2001-09-20 15:09:20
There's an inconsistency here that first appeared straightforward to
me but now I'm not sure of the changes that are needed.
Sorry, I should note that to build this kernel I'm using
gcc-2.95.2-1i and accompanying parts (and I have glibc-2.1.3-5a, but
I would think that irrelevant). Could the compiler be an issue?
Stefan Jeglinski
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
if it's same extern , it's no problem.
Different paramenter is no good.
Right. I should have supplied more info about what I have tried.
Look at fs/buffer.c line2748 where the real function is in.
so That is void wakeup_bdflush(void)
Kaoru
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
From: Stefan Jeglinski <hidden> Date: 2001-09-21 02:26:10
Thanks, Kaoru!
Sorry, no patch yet. I'll do one if my next rsync doesn't have it fixed :-)
All extern declarations should be
extern void wakeup_bdflush(void);
definition should be:
void wakeup_bdflush(void);
and all calls should be:
wakeup_bdflush();
Stefan Jeglinski
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/