[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclibc
Subject:    Re: [PATCH 0/4] uClibc port to ARCv2 ISA
From:       Vineet Gupta <Vineet.Gupta1 () synopsys ! com>
Date:       2015-02-21 6:20:15
Message-ID: 54E820CF.5040808 () synopsys ! com
[Download RAW message or body]

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
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic