Linux MIPS Architecture development
 help / color / mirror / Atom feed
* __MIPSEL__ in sys32_rt_sigtimedwait
@ 2004-01-20 17:42 Pavel Kiryukhin
  2004-01-20 18:31 ` Ralf Baechle
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Kiryukhin @ 2004-01-20 17:42 UTC (permalink / raw)
  To: linux-mips

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-01-21 15:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-20 17:42 __MIPSEL__ in sys32_rt_sigtimedwait Pavel Kiryukhin
2004-01-20 18:31 ` Ralf Baechle
2004-01-20 19:39   ` Daniel Jacobowitz
2004-01-21 13:47     ` Maciej W. Rozycki
2004-01-21 15:22       ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox