xref: /linux/arch/riscv/include/asm/signal32.h (revision f9bff0e31881d03badf191d3b0005839391f5f2b)
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