diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-09-08 15:29:41 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-09-14 21:10:04 +0200 |
commit | a2a8fd9a3efd8d22ee14a441e9e78cf5c998e69a (patch) | |
tree | 639b30561529a0d7d2e66bfc61cd1bed8c6a99c8 /arch/m68k/include/asm/mcftimer.h | |
parent | be0040144152ed834c369a7830487e5ee4f27080 (diff) | |
download | lwn-a2a8fd9a3efd8d22ee14a441e9e78cf5c998e69a.tar.gz lwn-a2a8fd9a3efd8d22ee14a441e9e78cf5c998e69a.zip |
x86/fpu/signal: Change return code of restore_fpregs_from_user() to boolean
__fpu_sig_restore() only needs information about success or fail and no
real error code.
This cleans up the confusing conversion of the trap number, which is
returned by the *RSTOR() exception fixups, to an error code.
Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210908132526.084109938@linutronix.de
Diffstat (limited to 'arch/m68k/include/asm/mcftimer.h')
0 files changed, 0 insertions, 0 deletions