Re: [PATCH v2 22/29] nios2: Miscellaneous header files

2014-07-18 Thread Arnd Bergmann
On Friday 18 July 2014 14:15:07 Chung-Lin Tang wrote: > Hi Arnd, > Considering two other kernel interface issues that appeared earlier in > the context of nios2 glibc/kernel upstreaming: > > (1) The 64-bit time_t/timespec issue. > (2) Dropping renameat by default in favor of renameat2 > > What's

Re: [PATCH v2 22/29] nios2: Miscellaneous header files

2014-07-17 Thread Chung-Lin Tang
Hi Arnd, Considering two other kernel interface issues that appeared earlier in the context of nios2 glibc/kernel upstreaming: (1) The 64-bit time_t/timespec issue. (2) Dropping renameat by default in favor of renameat2 What's the decision for these? Are they delayed to the next release? Thanks,

Re: [PATCH v2 22/29] nios2: Miscellaneous header files

2014-07-16 Thread Ley Foon Tan
On Tue, Jul 15, 2014 at 6:22 PM, Arnd Bergmann wrote: > On Tuesday 15 July 2014 16:45:49 Ley Foon Tan wrote: >> diff --git a/arch/nios2/include/asm/gpio.h b/arch/nios2/include/asm/gpio.h >> new file mode 100644 >> index 000..e726bfc >> --- /dev/null >> +++ b/arch/nios2/include/asm/gpio.h > Th

Re: [PATCH v2 22/29] nios2: Miscellaneous header files

2014-07-15 Thread Arnd Bergmann
On Tuesday 15 July 2014 19:03:35 Chung-Lin Tang wrote: > On 2014/7/15 06:22 PM, Arnd Bergmann wrote: > >> + > >> > +#ifndef _UAPI_ASM_NIOS2_STATFS_H > >> > +#define _UAPI_ASM_NIOS2_STATFS_H > >> > + > >> > +#define __statfs_word __s32 > > Why this? Every other architecture except parisc uses the de

Re: [PATCH v2 22/29] nios2: Miscellaneous header files

2014-07-15 Thread Chung-Lin Tang
On 2014/7/15 06:22 PM, Arnd Bergmann wrote: >> + >> > +#ifndef _UAPI_ASM_NIOS2_STATFS_H >> > +#define _UAPI_ASM_NIOS2_STATFS_H >> > + >> > +#define __statfs_word __s32 > Why this? Every other architecture except parisc uses the default __u32 here. Because include/uapi/asm/statfs.h has this: #ifnd

Re: [PATCH v2 22/29] nios2: Miscellaneous header files

2014-07-15 Thread Arnd Bergmann
On Tuesday 15 July 2014 16:45:49 Ley Foon Tan wrote: > diff --git a/arch/nios2/include/asm/gpio.h b/arch/nios2/include/asm/gpio.h > new file mode 100644 > index 000..e726bfc > --- /dev/null > +++ b/arch/nios2/include/asm/gpio.h > @@ -0,0 +1,23 @@ > +/* > + * Copyright (C) 2013 Altera Corporatio

[PATCH v2 22/29] nios2: Miscellaneous header files

2014-07-15 Thread Ley Foon Tan
This patch introduces a few nios2-specific header files. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/cmpxchg.h| 61 + arch/nios2/include/asm/gpio.h | 23 + arch/nios2/include/asm/linkage.h| 25 ++ arch/n