diff options
author | Stafford Horne <shorne@gmail.com> | 2023-04-14 10:27:51 +0300 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2023-04-26 17:08:06 +0300 |
commit | 27267655c5313ba0f5a3caa9ad35d887d9a12574 (patch) | |
tree | d72bb9628b509240ca045f77f9bfc98c4680cb0d /arch/openrisc/include/uapi/asm/sigcontext.h | |
parent | 63d7f9f11e5e81de2ce8f1c7a8aaed5b0288eddf (diff) | |
download | linux-27267655c5313ba0f5a3caa9ad35d887d9a12574.tar.xz |
openrisc: Support floating point user api
Add support for handling floating point exceptions and forwarding the
SIGFPE signal to processes. Also, add fpu state to sigcontext.
Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/openrisc/include/uapi/asm/sigcontext.h')
-rw-r--r-- | arch/openrisc/include/uapi/asm/sigcontext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/openrisc/include/uapi/asm/sigcontext.h b/arch/openrisc/include/uapi/asm/sigcontext.h index 8ab775fc3450..ca585e4af6b8 100644 --- a/arch/openrisc/include/uapi/asm/sigcontext.h +++ b/arch/openrisc/include/uapi/asm/sigcontext.h @@ -28,6 +28,7 @@ struct sigcontext { struct user_regs_struct regs; /* needs to be first */ + struct __or1k_fpu_state fpu; unsigned long oldmask; }; |