Skip to content

Commit

Permalink
x86/fpu: Remove duplicate copy_fpstate_to_sigframe() prototype
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
zhangshk authored and suryasaimadhu committed Dec 10, 2021
1 parent 61646ca commit 20735d2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/x86/include/asm/fpu/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,4 @@ extern void fpu__clear_user_states(struct fpu *fpu);
extern bool fpu__restore_sig(void __user *buf, int ia32_frame);

extern void restore_fpregs_from_fpstate(struct fpstate *fpstate, u64 mask);

extern bool copy_fpstate_to_sigframe(void __user *buf, void __user *fp, int size);

#endif /* _ASM_X86_FPU_SIGNAL_H */

0 comments on commit 20735d2

Please sign in to comment.