diff options
author | Brian Gerst <brgerst@gmail.com> | 2022-06-06 23:38:00 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-10-19 10:58:49 +0300 |
commit | c461ae39373a1ae21952dbb6e2668a693d9f761d (patch) | |
tree | 875446337e5a372ac4104194095942272d9ce25b /arch/x86/include/asm/sighandling.h | |
parent | 9c36e592b3f899c90b9d0d46ae29fcc065051b96 (diff) | |
download | linux-c461ae39373a1ae21952dbb6e2668a693d9f761d.tar.xz |
x86/signal: Add ABI prefixes to frame setup functions
Add ABI prefixes to the frame setup functions that didn't already have
them. To avoid compiler warnings and prepare for moving these functions
to separate files, make them non-static.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Link: https://lore.kernel.org/r/20220606203802.158958-7-brgerst@gmail.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'arch/x86/include/asm/sighandling.h')
-rw-r--r-- | arch/x86/include/asm/sighandling.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/include/asm/sighandling.h b/arch/x86/include/asm/sighandling.h index c9e9784efe38..e770c4fc47f4 100644 --- a/arch/x86/include/asm/sighandling.h +++ b/arch/x86/include/asm/sighandling.h @@ -19,4 +19,9 @@ void __user * get_sigframe(struct ksignal *ksig, struct pt_regs *regs, size_t frame_size, void __user **fpstate); +int ia32_setup_frame(struct ksignal *ksig, struct pt_regs *regs); +int ia32_setup_rt_frame(struct ksignal *ksig, struct pt_regs *regs); +int x64_setup_rt_frame(struct ksignal *ksig, struct pt_regs *regs); +int x32_setup_rt_frame(struct ksignal *ksig, struct pt_regs *regs); + #endif /* _ASM_X86_SIGHANDLING_H */ |