On Mon, Jun 25, 2007 at 12:37:34PM +0100, David Woodhouse wrote:
> - Some architectures must align 64-bit integers into an aligned
>   pair of registers. A slot may be wasted for padding.
> - S390 may not have a 64-bit integer in slots 5/6.

Uhm, doesn't sys_sync_file_range2 break that?

+asmlinkage long compat_sys_sync_file_range2(int fd, unsigned int flags,
+                                  unsigned offset_hi, unsigned offset_lo,
+                                  unsigned nbytes_hi, unsigned nbytes_lo)

How about:

asmlinkage long compat_sys_sync_file_range2(unsigned offset_hi,
                unsigned offset_lo, unsigned nbytes_hi, unsigned nbytes_lo, 
                int fd, unsigned int flags)

Also, you might want to put something in the syscall file about signed
vs unsigned arguments and how they behave with 32-on-64 systems.
-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to