1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2012 ARM Ltd.
5 #ifndef __ASM_SIGNAL32_H
6 #define __ASM_SIGNAL32_H
10 #include <linux/compat.h>
12 int compat_setup_frame(int usig, struct ksignal *ksig, sigset_t *set,
13 struct pt_regs *regs);
14 int compat_setup_rt_frame(int usig, struct ksignal *ksig, sigset_t *set,
15 struct pt_regs *regs);
17 void compat_setup_restart_syscall(struct pt_regs *regs);
20 static inline int compat_setup_frame(int usid, struct ksignal *ksig,
21 sigset_t *set, struct pt_regs *regs)
26 static inline int compat_setup_rt_frame(int usig, struct ksignal *ksig, sigset_t *set,
32 static inline void compat_setup_restart_syscall(struct pt_regs *regs)
35 #endif /* CONFIG_COMPAT */
36 #endif /* __KERNEL__ */
37 #endif /* __ASM_SIGNAL32_H */