On Friday 13 December 2002 00:03, Janet Morgan wrote:
Hi Janet,
> The attached patch is a port of Davide's sys_epoll from 2.5.51 to 2.4.20.
I get this while make modules:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DSMBFS_PARANOIA -nostdinc
-iwithprefix include -DKBUILD_BASENAME=sock -c -o sock.o sock.c
sock.c: In function `smb_receive_poll':
sock.c:323: warning: passing arg 1 of `poll_initwait' from incompatible
pointer type
sock.c:328: warning: passing arg 1 of `poll_freewait' from incompatible
pointer type
sock.c:334: warning: passing arg 1 of `poll_freewait' from incompatible
pointer type
sock.c:337: structure has no member named `error'
sock.c:338: structure has no member named `error'
make[2]: *** [sock.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20/fs/smbfs'
make[1]: *** [_modsubdir_smbfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20/fs'
make: *** [_mod_fs] Error 2
This is SMBfs as module.
The code is this starting at line 333:
timeout = schedule_timeout(timeout);
poll_freewait(&wait_table);
set_current_state(TASK_RUNNING);
if (wait_table.error) {
result = wait_table.error;
break;
}
if (signal_pending(current)) {
ciao, Marc
-
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/
This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:29 EST