treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / riscv / include / uapi / asm / sigcontext.h
blob84f2dfcfdbce2ee92ba6250822bb2397cbce2768
1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
2 /*
3 * Copyright (C) 2012 Regents of the University of California
4 */
6 #ifndef _UAPI_ASM_RISCV_SIGCONTEXT_H
7 #define _UAPI_ASM_RISCV_SIGCONTEXT_H
9 #include <asm/ptrace.h>
12 * Signal context structure
14 * This contains the context saved before a signal handler is invoked;
15 * it is restored by sys_sigreturn / sys_rt_sigreturn.
17 struct sigcontext {
18 struct user_regs_struct sc_regs;
19 union __riscv_fp_state sc_fpregs;
22 #endif /* _UAPI_ASM_RISCV_SIGCONTEXT_H */