Re: [PATCH 17/25] parisc: Add 32 bit time_t and clock_t

2014-05-14 Thread H. Peter Anvin
On 05/13/2014 01:17 PM, Helge Deller wrote: > > We can't use CONFIG_64BIT for a userspace header file. Please use > #if !defined(__LP64__) > instead. > But even then I'm not sure if it's all correct... > __u64 (or __s64) works fine in that case. -hpa -- To unsubscribe from this

Re: [PATCH 17/25] parisc: Add 32 bit time_t and clock_t

2014-05-14 Thread H. Peter Anvin
On 05/13/2014 01:17 PM, Helge Deller wrote: We can't use CONFIG_64BIT for a userspace header file. Please use #if !defined(__LP64__) instead. But even then I'm not sure if it's all correct... __u64 (or __s64) works fine in that case. -hpa -- To unsubscribe from this list: send

Re: [PATCH 17/25] parisc: Add 32 bit time_t and clock_t

2014-05-13 Thread Ley Foon Tan
On Wed, May 14, 2014 at 4:17 AM, Helge Deller wrote: > Hi Ley, > > On 05/13/2014 11:06 AM, Ley Foon Tan wrote: >> Override time_t and clock_t in include/uapi/asm-generic. >> >> Signed-off-by: Ley Foon Tan >> --- >> arch/parisc/include/uapi/asm/posix_types.h | 8 >> 1 file changed, 8

Re: [PATCH 17/25] parisc: Add 32 bit time_t and clock_t

2014-05-13 Thread Helge Deller
Hi Ley, On 05/13/2014 11:06 AM, Ley Foon Tan wrote: > Override time_t and clock_t in include/uapi/asm-generic. > > Signed-off-by: Ley Foon Tan > --- > arch/parisc/include/uapi/asm/posix_types.h | 8 > 1 file changed, 8 insertions(+) > > diff --git

[PATCH 17/25] parisc: Add 32 bit time_t and clock_t

2014-05-13 Thread Ley Foon Tan
Override time_t and clock_t in include/uapi/asm-generic. Signed-off-by: Ley Foon Tan --- arch/parisc/include/uapi/asm/posix_types.h | 8 1 file changed, 8 insertions(+) diff --git a/arch/parisc/include/uapi/asm/posix_types.h b/arch/parisc/include/uapi/asm/posix_types.h index

[PATCH 17/25] parisc: Add 32 bit time_t and clock_t

2014-05-13 Thread Ley Foon Tan
Override time_t and clock_t in include/uapi/asm-generic. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/parisc/include/uapi/asm/posix_types.h | 8 1 file changed, 8 insertions(+) diff --git a/arch/parisc/include/uapi/asm/posix_types.h

Re: [PATCH 17/25] parisc: Add 32 bit time_t and clock_t

2014-05-13 Thread Helge Deller
Hi Ley, On 05/13/2014 11:06 AM, Ley Foon Tan wrote: Override time_t and clock_t in include/uapi/asm-generic. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/parisc/include/uapi/asm/posix_types.h | 8 1 file changed, 8 insertions(+) diff --git

Re: [PATCH 17/25] parisc: Add 32 bit time_t and clock_t

2014-05-13 Thread Ley Foon Tan
On Wed, May 14, 2014 at 4:17 AM, Helge Deller del...@gmx.de wrote: Hi Ley, On 05/13/2014 11:06 AM, Ley Foon Tan wrote: Override time_t and clock_t in include/uapi/asm-generic. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/parisc/include/uapi/asm/posix_types.h | 8 1 file