aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/fpu/init.c
diff options
context:
space:
mode:
authorGravatar Thomas Gleixner <tglx@linutronix.de> 2021-10-13 16:55:42 +0200
committerGravatar Borislav Petkov <bp@suse.de> 2021-10-20 23:58:29 +0200
commit2f27b5034244c4ebd70c90066defa771a99a5320 (patch)
tree0768cd59715503f8005cb0dc333ddcb32f2e6e70 /arch/x86/kernel/fpu/init.c
parentx86/math-emu: Convert to fpstate (diff)
downloadlinux-2f27b5034244c4ebd70c90066defa771a99a5320.tar.gz
linux-2f27b5034244c4ebd70c90066defa771a99a5320.tar.bz2
linux-2f27b5034244c4ebd70c90066defa771a99a5320.zip
x86/fpu: Remove fpu::state
All users converted. Remove it along with the sanity checks. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20211013145322.765063318@linutronix.de
Diffstat (limited to 'arch/x86/kernel/fpu/init.c')
-rw-r--r--arch/x86/kernel/fpu/init.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/kernel/fpu/init.c b/arch/x86/kernel/fpu/init.c
index b524cd053114..cffbaf491886 100644
--- a/arch/x86/kernel/fpu/init.c
+++ b/arch/x86/kernel/fpu/init.c
@@ -184,10 +184,6 @@ static void __init fpu__init_task_struct_size(void)
CHECK_MEMBER_AT_END_OF(struct thread_struct, fpu);
CHECK_MEMBER_AT_END_OF(struct task_struct, thread);
- BUILD_BUG_ON(sizeof(struct fpstate) != sizeof(union fpregs_state));
- BUILD_BUG_ON(offsetof(struct thread_struct, fpu.state) !=
- offsetof(struct thread_struct, fpu.__fpstate));
-
arch_task_struct_size = task_size;
}