[PATCH] ppc64: fix semtimedop compat syscall
Stephen Rothwell
sfr at canb.auug.org.au
Wed Mar 23 09:34:41 EST 2005
On Wed, 23 Mar 2005 07:19:31 +1100 Paul Mackerras <paulus at samba.org> wrote:
>
> Arnd Bergmann writes:
>
> > One problem is that sign extension can not be expressed in architecture
> > independent C code.
>
> On which architectures does (long)(int) x not give the desired result?
Presumably for a u32 function argument x which has been zero extended?
--
Cheers,
Stephen Rothwell sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20050323/f2be59c8/attachment.pgp
More information about the Linuxppc64-dev
mailing list