diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-10-13 16:55:42 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-10-20 23:58:29 +0200 |
commit | 2f27b5034244c4ebd70c90066defa771a99a5320 (patch) | |
tree | 0768cd59715503f8005cb0dc333ddcb32f2e6e70 /arch/x86/kernel | |
parent | x86/math-emu: Convert to fpstate (diff) | |
download | linux-2f27b5034244c4ebd70c90066defa771a99a5320.tar.xz 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')
-rw-r--r-- | arch/x86/kernel/fpu/init.c | 4 |
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; } |