Re: [PATCH 0/4] uClibc port to ARCv2 ISA

Vineet Gupta <[email protected]>
Newsgroups gmane.comp.lib.uclibc.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.