Hi Vineet, On Thu, Feb 19, 2015 at 3:17 PM, Vineet Gupta <[email protected]> wrote: > xtensa enables UCLIBC_SYSCALL_ALIGN_64BIT. Their upstream kernel defines > __NR_sync_file_range but uses the sys_sync_file_range2 handler which is > > SYSCALL_DEFINE4(sync_file_range2, int, fd, unsigned int, flags, loff_t, > offset, > loff_t, nbytes) > > So xtensa will be hosed if we switched their sync_file_range to standard > UCLIBC_SYSCALL_ALIGN_64BIT handling. > @Max, @Baruch, cn u please at orig patch below, and see if we can remove > __arc__ > from there (I guess we can't)
Looks like it's always been broken, so now it's no more broken than it was before. I think xtensa should define __NR_sync_file_range2 instead of __NR_sync_file_range in the kernel unistd.h, it matches what other arches do and then the current uClibc code will work for it. -- Thanks. -- Max _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
