RE: [Compatibilty patch] sigtimedwait

From: Zou, Nanhai
Date: Tue Dec 14 2004 - 01:05:09 EST


Thanks for the suggestion.
I have updated the patch, add a macro __COMPAT_ENDIAN_SWAP__ in
include/asm-mips/compat.h

Also I have changed the name from siginfo_t32 to compat_siginfo_t
according to Stephen Rothwell's suggestion

This patch is against 2.6.10-rc3-mm1.

Signed-off-by: Zou Nan hai <Nanhai.zou@xxxxxxxxx>

> -----Original Message-----
> From: David S. Miller [mailto:davem@xxxxxxxxxxxxx]
> Sent: Friday, December 10, 2004 9:08 AM
> To: Zou, Nanhai
> Cc: linux-kernel@xxxxxxxxxxxxxxx; akpm@xxxxxxxx; Luck, Tony;
ak@xxxxxxx;
> ralf@xxxxxxxxxxxxxx; paulus@xxxxxxxxxx; schwidefsky@xxxxxxxxxx
> Subject: Re: [Compatibilty patch] sigtimedwait
>
> On Fri, 10 Dec 2004 08:40:57 +0800
> "Zou, Nanhai" <nanhai.zou@xxxxxxxxx> wrote:
>
> > But I can't put a
> > #ifdef __LITTLE_ENDIAN
> > here,
> > Because
> > only MIPS does the byte swapping in little endian mode.
> > X86_64 and ia64 does not.
>
> Good point. Perhaps we can turn this into a cleaner looking
> macro name that gets set in include/asm/compat.h

Attachment: compat-sigtimedwait.patch
Description: compat-sigtimedwait.patch