[PATCH] ppc64: fix semtimedop compat syscall
David S. Miller
davem at davemloft.net
Mon Apr 25 13:50:32 EST 2005
On Mon, 25 Apr 2005 13:29:22 +1000
Stephen Rothwell <sfr at canb.auug.org.au> wrote:
> > It all depends upon what the processor ABI says about incoming arguments,
> > specifically whether the caller is expected to sign extend them or not.
> >
> > If the caller is expected to sign extend, then "(long) (int) x" will get
> > optimized away by the compiler.
>
> Even if x is declared as unsigned int?
No, not in that case. I was mentioning the case where x is declared
as a signed int.
More information about the Linuxppc64-dev
mailing list