Re: [Qemu-devel] [PATCH 3/3] linux-user:Signal handling for MIPS64

2011-12-29 Thread Andreas Färber
Am 29.12.2011 11:58, schrieb Khansa Butt: > On Wed, Dec 14, 2011 at 9:20 PM, Richard Henderson wrote: >> On 12/07/2011 09:25 PM, kha...@kics.edu.pk wrote: >>> +#if defined(TARGET_MIPS64) >>> +/* tswapal() do 64 bit swap in case of MIPS64 but >>> + we need 32 bit swap as sa_flags

Re: [Qemu-devel] [PATCH 3/3] linux-user:Signal handling for MIPS64

2011-12-29 Thread Khansa Butt
On Wed, Dec 14, 2011 at 9:20 PM, Richard Henderson wrote: > On 12/07/2011 09:25 PM, kha...@kics.edu.pk wrote: >> +#if defined(TARGET_MIPS64) >> +        /* tswapal() do 64 bit swap in case of MIPS64 but >> +           we need 32 bit swap as sa_flags is 32 bit */ >> +        k->sa_flags = bswap32(a

Re: [Qemu-devel] [PATCH 3/3] linux-user:Signal handling for MIPS64

2011-12-28 Thread Khansa Butt
On Wed, Dec 14, 2011 at 9:20 PM, Richard Henderson wrote: > On 12/07/2011 09:25 PM, kha...@kics.edu.pk wrote: >> +#if defined(TARGET_MIPS64) >> +        /* tswapal() do 64 bit swap in case of MIPS64 but >> +           we need 32 bit swap as sa_flags is 32 bit */ >> +        k->sa_flags = bswap32(a

Re: [Qemu-devel] [PATCH 3/3] linux-user:Signal handling for MIPS64

2011-12-14 Thread Richard Henderson
On 12/07/2011 09:25 PM, kha...@kics.edu.pk wrote: > +#if defined(TARGET_MIPS64) > +/* tswapal() do 64 bit swap in case of MIPS64 but > + we need 32 bit swap as sa_flags is 32 bit */ > +k->sa_flags = bswap32(act->sa_flags); > +#else > k->sa_flags = tswapal(act->sa_