2026-01-21 18:59:54 +08:00

23 lines
430 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_SW64_SIGNAL_H
#define _ASM_SW64_SIGNAL_H
#include <uapi/asm/signal.h>
#define _NSIG 64
#define _NSIG_BPW 64
#define _NSIG_WORDS (_NSIG / _NSIG_BPW)
typedef unsigned long old_sigset_t; /* at least 32 bits */
typedef struct {
unsigned long sig[_NSIG_WORDS];
} sigset_t;
#ifdef CONFIG_OLD_SIGACTION
#define __ARCH_HAS_SA_RESTORER
#endif
#include <asm/sigcontext.h>
#endif