From: Marc-Christian Petersen <m.c.p@wolk-project.de>
To: linux-kernel@vger.kernel.org
Cc: Janet Morgan <janetmor@us.ibm.com>
Subject: Re: [PATCH] sys_epoll for 2.4
Date: Fri, 13 Dec 2002 20:40:45 +0100 [thread overview]
Message-ID: <200212132038.23469.m.c.p@wolk-project.de> (raw)
In-Reply-To: <200212122303.gBCN3O721003@eng2.beaverton.ibm.com>
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
next prev parent reply other threads:[~2002-12-13 19:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-12 23:03 Janet Morgan
2002-12-12 23:22 ` Davide Libenzi
2002-12-13 19:40 ` Marc-Christian Petersen [this message]
2002-12-14 2:40 ` Janet Morgan
2002-12-14 3:36 ` Marc-Christian Petersen
2002-12-17 2:02 ` Janet Morgan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200212132038.23469.m.c.p@wolk-project.de \
--to=m.c.p@wolk-project.de \
--cc=janetmor@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®