[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <163915954325.23020.14804385797521679140.tip-bot2@tip-bot2>
Date: Fri, 10 Dec 2021 18:05:43 -0000
From: "tip-bot2 for Shaokun Zhang" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Shaokun Zhang <zhangshaokun@...ilicon.com>,
Borislav Petkov <bp@...e.de>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: x86/cleanups] x86/fpu: Remove duplicate
copy_fpstate_to_sigframe() prototype
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: 34c4aa156f810db51e9e97792ced52401d66655a
Gitweb: https://git.kernel.org/tip/34c4aa156f810db51e9e97792ced52401d66655a
Author: Shaokun Zhang <zhangshaokun@...ilicon.com>
AuthorDate: Thu, 09 Dec 2021 09:55:50 +08:00
Committer: Borislav Petkov <bp@...e.de>
CommitterDate: Fri, 10 Dec 2021 18:42:56 +01:00
x86/fpu: Remove duplicate copy_fpstate_to_sigframe() prototype
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@...ilicon.com>
Signed-off-by: Borislav Petkov <bp@...e.de>
Link: https://lore.kernel.org/r/20211209015550.51916-1-zhangshaokun@hisilicon.com
---
arch/x86/include/asm/fpu/signal.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/x86/include/asm/fpu/signal.h b/arch/x86/include/asm/fpu/signal.h
index 22b0273..e1c9df9 100644
--- 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 */
Powered by blists - more mailing lists