projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61646ca
)
x86/fpu: Remove duplicate copy_fpstate_to_sigframe() prototype
author
Shaokun Zhang
<zhangshaokun@hisilicon.com>
Thu, 9 Dec 2021 01:55:50 +0000
(09:55 +0800)
committer
Borislav Petkov
<bp@suse.de>
Fri, 10 Dec 2021 18:13:06 +0000
(19:13 +0100)
The function prototype of copy_fpstate_to_sigframe() is declared twice in
0ae67cc34f76
("x86/fpu: Remove internal.h dependency from fpu/signal.h").
Remove one of them.
[ bp: Massage ]
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link:
https://lore.kernel.org/r/20211209015550.51916-1-zhangshaokun@hisilicon.com
arch/x86/include/asm/fpu/signal.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/fpu/signal.h
b/arch/x86/include/asm/fpu/signal.h
index 22b0273a8bf1e0b0446d0a272fa5928b778ac49a..e1c9df9102a59d952fac55e80f84600b9680a066 100644
(file)
--- a/
arch/x86/include/asm/fpu/signal.h
+++ b/
arch/x86/include/asm/fpu/signal.h
@@
-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 */