[PATCH] ppc64: fix semtimedop compat syscall
arnd at arndb.de
Wed Mar 23 12:31:43 EST 2005
On Dinsdag 22 März 2005 22:21, Arnd Bergmann wrote:
> This is what I have now. AFAICS, this should work for all architectures,
> even without having to zero-extend all arguments. The output currently
> looks like
> compat_s(sys32_exit, sys_exit)
> compat_u_p_u(sys32_read, sys32_read)
> compat_u_p_u(sys32_write, sys32_write)
Ok, a different approach this time, now almost architecture independent.
This won't work on s390 because it does not handle 31 bit pointers, but
it makes it possible to autogenerate the function stubs that are used
on ppc64 at the moment. This is still proof-of-concept code, to see
if the idea makes sense.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 18906 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20050323/1a4bdcd6/attachment.diff
More information about the Linuxppc64-dev