[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211209015550.51916-1-zhangshaokun@hisilicon.com>
Date: Thu, 9 Dec 2021 09:55:50 +0800
From: Shaokun Zhang <zhangshaokun@...ilicon.com>
To: <x86@...nel.org>, <linux-kernel@...r.kernel.org>
CC: Shaokun Zhang <zhangshaokun@...ilicon.com>,
Thomas Gleixner <tglx@...utronix.de>,
Borislav Petkov <bp@...e.de>
Subject: [PATCH] x86/fpu: Clean up the repeated declaration
Function 'copy_fpstate_to_sigframe' is declared twice by
commit <0ae67cc34f76> ("x86/fpu: Remove internal.h dependency from fpu/signal.h").
Clean up the last one and remove the blank line.
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Borislav Petkov <bp@...e.de>
Signed-off-by: Shaokun Zhang <zhangshaokun@...ilicon.com>
---
arch/x86/include/asm/fpu/signal.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/x86/include/asm/fpu/signal.h b/arch/x86/include/asm/fpu/signal.h
index 22b0273a8bf1..2ec9df1d6daf 100644
--- a/arch/x86/include/asm/fpu/signal.h
+++ b/arch/x86/include/asm/fpu/signal.h
@@ -42,6 +42,4 @@ 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 */
--
2.33.0
Powered by blists - more mailing lists