Skip to content

Commit 20735d2

Browse files
zhangshksuryasaimadhu
authored andcommitted
x86/fpu: Remove duplicate copy_fpstate_to_sigframe() prototype
The function prototype of copy_fpstate_to_sigframe() is declared twice in 0ae67cc ("x86/fpu: Remove internal.h dependency from fpu/signal.h"). Remove one of them. [ bp: Massage ] Signed-off-by: Shaokun Zhang <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 61646ca commit 20735d2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arch/x86/include/asm/fpu/signal.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,4 @@ extern void fpu__clear_user_states(struct fpu *fpu);
4141
extern bool fpu__restore_sig(void __user *buf, int ia32_frame);
4242

4343
extern void restore_fpregs_from_fpstate(struct fpstate *fpstate, u64 mask);
44-
45-
extern bool copy_fpstate_to_sigframe(void __user *buf, void __user *fp, int size);
46-
4744
#endif /* _ASM_X86_FPU_SIGNAL_H */

0 commit comments

Comments
 (0)