xref: /linux/arch/riscv/include/asm/signal32.h (revision 2da68a77)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef __ASM_SIGNAL32_H
4 #define __ASM_SIGNAL32_H
5 
6 #if IS_ENABLED(CONFIG_COMPAT)
7 int compat_setup_rt_frame(struct ksignal *ksig, sigset_t *set,
8 			  struct pt_regs *regs);
9 #else
10 static inline
11 int compat_setup_rt_frame(struct ksignal *ksig, sigset_t *set,
12 			  struct pt_regs *regs)
13 {
14 	return -1;
15 }
16 #endif
17 
18 #endif
19