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
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
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 +