Messages in this thread | | | Date | Wed, 17 Mar 2010 09:18:20 +0000 | From | Jamie Lokier <> | Subject | Re: 64-syscall args on 32-bit vs syscall() |
| |
Benjamin Herrenschmidt wrote: > Hence, apps that use the first form today because it works on x86 would > end up working at least on powerpc where they would have been otherwise > broken unless they used some arch specific #ifdef to do the second form.
I think what Ulrich is getting at is your change will break existing code which already does:
#ifdef __powerpc__ syscall(SYS_foo, 0, my_64bit_arg); #else syscall(SYS_foo, my_64bit_arg); #endif
I don't know of any such code, but it might be out there.
-- Jamie
| |