diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-02-15 17:43:18 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-03-18 20:29:54 +0100 |
commit | 71c3313a38aa09339a2442809e658fd233ab0757 (patch) | |
tree | 9ed1450f20160ef8c41739b0a2dffb5a0c4b88b8 /arch/x86/include/asm/sigframe.h | |
parent | x86 kvm page table walks: switch to explicit __get_user() (diff) | |
download | linux-71c3313a38aa09339a2442809e658fd233ab0757.tar.xz linux-71c3313a38aa09339a2442809e658fd233ab0757.zip |
x86: switch sigframe sigset handling to explict __get_user()/__put_user()
... and consolidate the definition of sigframe_ia32->extramask - it's
always a 1-element array of 32bit unsigned.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86/include/asm/sigframe.h')
-rw-r--r-- | arch/x86/include/asm/sigframe.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/x86/include/asm/sigframe.h b/arch/x86/include/asm/sigframe.h index f176114c04d4..84eab2724875 100644 --- a/arch/x86/include/asm/sigframe.h +++ b/arch/x86/include/asm/sigframe.h @@ -33,11 +33,7 @@ struct sigframe_ia32 { * legacy application accessing/modifying it. */ struct _fpstate_32 fpstate_unused; -#ifdef CONFIG_IA32_EMULATION - unsigned int extramask[_COMPAT_NSIG_WORDS-1]; -#else /* !CONFIG_IA32_EMULATION */ - unsigned long extramask[_NSIG_WORDS-1]; -#endif /* CONFIG_IA32_EMULATION */ + unsigned int extramask[1]; char retcode[8]; /* fp state follows here */ }; |