Debian Codegraph @

arch/riscv/include/asm/signal32.h

raw
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