[PATCH] [POWERPC] Wire up sys_sync_file_range

David Miller davem at davemloft.net
Fri Mar 9 18:13:41 EST 2007


From: David Woodhouse <dwmw2 at infradead.org>
Date: Fri, 09 Mar 2007 06:55:41 +0000

> On Fri, 2007-03-09 at 15:22 +1100, Stephen Rothwell wrote:
> > This requires an architecture specific compat routine as u64s are passed
> > in odd/even (high/low) register pairs on ppc32.
> > 
> > Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
> 
> Doesn't that apply to ARM and to 32-bit MIPS too? And perhaps others?

Unfortunately in the MIPS case you'll have to do some ifdef'ing because
the order of the "high" and "low" sub-part arguments is dependant upon
endianness and MIPS can be both big and little endian.




More information about the Linuxppc-dev mailing list