Re: [PATCH v2 16/35] nds32: Signal handling support

2017-11-27 Thread Vincent Chen
2017-11-27 22:37 GMT+08:00 Arnd Bergmann : > On Mon, Nov 27, 2017 at 1:28 PM, Greentime Hu wrote: > >> +#ifndef _ASMNDS32_SIGNAL_H >> +#define _ASMNDS32_SIGNAL_H >> + >> +#define SA_RESTORER0x0400 >> + >> +#include >> +#endif > > As documented in asm-generic/signal.h, new architectures sh

Re: [PATCH v2 16/35] nds32: Signal handling support

2017-11-27 Thread Arnd Bergmann
On Mon, Nov 27, 2017 at 1:28 PM, Greentime Hu wrote: > +#ifndef _ASMNDS32_SIGNAL_H > +#define _ASMNDS32_SIGNAL_H > + > +#define SA_RESTORER0x0400 > + > +#include > +#endif As documented in asm-generic/signal.h, new architectures should not define SA_RESTORER. Arnd

[PATCH v2 16/35] nds32: Signal handling support

2017-11-27 Thread Greentime Hu
From: Greentime Hu This patch adds support for signal handling. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/uapi/asm/sigcontext.h | 73 ++ arch/nds32/include/uapi/asm/signal.h | 23 ++ arch/nds32/kernel/signal.c | 354 +