Re: [PATCH v2] x86/uapi: fix asm/signal.h userspace compilation error

2017-03-01 Thread Dmitry V. Levin
On Wed, Mar 01, 2017 at 04:26:29PM -0800, h...@zytor.com wrote: > On March 1, 2017 4:18:54 PM PST, "Dmitry V. Levin" wrote: > >Replace size_t to fix the following asm/signal.h userspace compilation > >error: > > > >/usr/include/asm/signal.h:126:2: error: unknown type name 'size_t' > > size_t ss_s

Re: [PATCH v2] x86/uapi: fix asm/signal.h userspace compilation error

2017-03-01 Thread hpa
On March 1, 2017 4:18:54 PM PST, "Dmitry V. Levin" wrote: >Replace size_t to fix the following asm/signal.h userspace compilation >error: > >/usr/include/asm/signal.h:126:2: error: unknown type name 'size_t' > size_t ss_size; > >size_t is replaced with __kernel_size_t in all cases except x32 wher

[PATCH v2] x86/uapi: fix asm/signal.h userspace compilation error

2017-03-01 Thread Dmitry V. Levin
Replace size_t to fix the following asm/signal.h userspace compilation error: /usr/include/asm/signal.h:126:2: error: unknown type name 'size_t' size_t ss_size; size_t is replaced with __kernel_size_t in all cases except x32 where unsigned int has to be used instead. Signed-off-by: Dmitry V. L