Re: [PATCH 3/3] truncate()/ftruncate() fix length argument on ia32 emulation.

From: Arnd Bergmann
Date: Sun Sep 18 2011 - 11:27:14 EST


On Saturday 17 September 2011 20:01:17 Thomas Meyer wrote:
> move signed-extended int to long, because of signed test.
>
> Signed-off-by: Thomas Meyer <thomas@xxxxxxxx>

I would expect that the same is needed on ia64 and parisc and mips.
powerpc, s390 and sparc probably don't need it because they
have architecture specific code that already does this, but you
can probably remove the powerpc version if you add a generic
one.

New architectures (including tile) won't need the wrapper because
the 32-bit ABI there only has truncate64.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/