On Saturday 21 February 2015 01:21 AM, Max Filippov wrote:
>> 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.

You could do that but bear a syscall ABI change or u could patch uClibc while
keeping the ABI stable.

-#  elif defined __NR_sync_file_range2
+#  elif defined __NR_sync_file_range2 || define xtensa

-Vineet

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to