[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <174634886518.22196.736214432807661559.tip-bot2@tip-bot2>
Date: Sun, 04 May 2025 08:54:25 -0000
From: "tip-bot2 for Oleg Nesterov" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Oleg Nesterov <oleg@...hat.com>, Ingo Molnar <mingo@...nel.org>,
"Chang S . Bae" <chang.seok.bae@...el.com>, "H. Peter Anvin" <hpa@...or.com>,
Andy Lutomirski <luto@...capital.net>, Brian Gerst <brgerst@...il.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: x86/fpu] x86/fpu: Remove x86_init_fpu
The following commit has been merged into the x86/fpu branch of tip:
Commit-ID: 392bbe11c7cf90e65cba32e90af3b969a981c4fe
Gitweb: https://git.kernel.org/tip/392bbe11c7cf90e65cba32e90af3b969a981c4fe
Author: Oleg Nesterov <oleg@...hat.com>
AuthorDate: Sat, 03 May 2025 16:38:37 +02:00
Committer: Ingo Molnar <mingo@...nel.org>
CommitterDate: Sun, 04 May 2025 10:29:24 +02:00
x86/fpu: Remove x86_init_fpu
It is not actually used after:
55bc30f2e34d ("x86/fpu: Remove the thread::fpu pointer")
Signed-off-by: Oleg Nesterov <oleg@...hat.com>
Signed-off-by: Ingo Molnar <mingo@...nel.org>
Cc: Chang S . Bae <chang.seok.bae@...el.com>
Cc: H. Peter Anvin <hpa@...or.com>
Cc: Andy Lutomirski <luto@...capital.net>
Cc: Brian Gerst <brgerst@...il.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Link: https://lore.kernel.org/r/20250503143837.GA8985@redhat.com
---
arch/x86/kernel/fpu/init.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/x86/kernel/fpu/init.c b/arch/x86/kernel/fpu/init.c
index 2d9b5e6..6bb3e35 100644
--- a/arch/x86/kernel/fpu/init.c
+++ b/arch/x86/kernel/fpu/init.c
@@ -71,13 +71,9 @@ static bool __init fpu__probe_without_cpuid(void)
return fsw == 0 && (fcw & 0x103f) == 0x003f;
}
-static struct fpu x86_init_fpu __attribute__ ((aligned (64))) __read_mostly;
-
static void __init fpu__init_system_early_generic(void)
{
- fpstate_reset(&x86_init_fpu);
set_thread_flag(TIF_NEED_FPU_LOAD);
- x86_init_fpu.last_cpu = -1;
if (!boot_cpu_has(X86_FEATURE_CPUID) &&
!test_bit(X86_FEATURE_FPU, (unsigned long *)cpu_caps_cleared)) {
Powered by blists - more mailing lists