[PATCH] Wire up sys_sync_file_range() on powerpc

Paul Mackerras paulus at samba.org
Mon Jun 18 15:37:06 EST 2007


David Woodhouse writes:

> Pants.

Ah.  Is that a naughty word in the UK?  If so I'll have to remember
that when I go to kernel summit. :)

> It doesn't work because the 'flags' argument ends up in r9, and
> we can only use r3-r8 for syscall arguments. We'll need to do it the
> same way as ARM does, with the flags as the second argument.

Yes.  We'll need a wrapper for both 32-bit and for 32-on-64.

> Or is it? Can we ditch sys_sync_file_range now and implement a new
> sys_sync_file_range2 with the two 32-bit arguments first?

Would be nice...

Paul.



More information about the Linuxppc-dev mailing list