From: Pavel Kiryukhin <vksavl@cityline.ru>
To: linux-mips@linux-mips.org
Subject: sys32_sched_getaffinity
Date: Mon, 19 Jan 2004 22:55:48 +0300 [thread overview]
Message-ID: <1852455000.20040119225548@cityline.ru> (raw)
Hi,
could anybody give some comments on the following code in 2.4.x -
2.6.1.
sys_sched_getaffinity [kernel/sched.c] on success returns the size of
cpumask_t, which is obviously positive value.
while
sys32_sched_getaffinity [arch/mips/kernel/linux32.c] expect 0 as
successful return from sys_sched_getaffinity.
Would
if (ret > 0) {
be more correct than
if (ret == 0) {
in sys32_sched_getaffinity?
--
Best regards,
Pavel Kiryukhin mailto:vksavl@cityline.ru
next reply other threads:[~2004-01-19 19:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-19 19:55 Pavel Kiryukhin [this message]
2004-01-20 0:27 ` sys32_sched_getaffinity Ralf Baechle
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=1852455000.20040119225548@cityline.ru \
--to=vksavl@cityline.ru \
--cc=linux-mips@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.