From: Pavel Kiryukhin <savl@dev.rtsoft.ru>
To: linux-mips@linux-mips.org
Subject: __MIPSEL__ in sys32_rt_sigtimedwait
Date: Tue, 20 Jan 2004 20:42:15 +0300 [thread overview]
Message-ID: <400D6877.1000105@dev.rtsoft.ru> (raw)
Hi all,
my question - does endiannes matters in sigset translation in
sys32_rt_sigtimedwait (arch/mips/signal32.c)?
===================
@@ -827,18 +827,10 @@
return -EFAULT;
switch (_NSIG_WORDS) {
-#ifdef __MIPSEB__
case 4: these.sig[3] = these32.sig[6] | (((long)these32.sig[7]) << 32);
case 3: these.sig[2] = these32.sig[4] | (((long)these32.sig[5]) << 32);
case 2: these.sig[1] = these32.sig[2] | (((long)these32.sig[3]) << 32);
case 1: these.sig[0] = these32.sig[0] | (((long)these32.sig[1]) << 32);
-#endif
-#ifdef __MIPSEL__
- case 4: these.sig[3] = these32.sig[7] | (((long)these32.sig[6]) << 32);
- case 3: these.sig[2] = these32.sig[5] | (((long)these32.sig[4]) << 32);
- case 2: these.sig[1] = these32.sig[3] | (((long)these32.sig[2]) << 32);
- case 1: these.sig[0] = these32.sig[1] | (((long)these32.sig[0]) << 32);
-#endif
}
/*
===================
Regards,
Pavel Kiryukhin
next reply other threads:[~2004-01-20 17:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-20 17:42 Pavel Kiryukhin [this message]
2004-01-20 18:31 ` __MIPSEL__ in sys32_rt_sigtimedwait Ralf Baechle
2004-01-20 19:39 ` Daniel Jacobowitz
2004-01-21 13:47 ` Maciej W. Rozycki
2004-01-21 15:22 ` Daniel Jacobowitz
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=400D6877.1000105@dev.rtsoft.ru \
--to=savl@dev.rtsoft.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox