summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/common.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2023-06-14 01:39:42 +0200
committerThomas Gleixner <tglx@linutronix.de>2023-06-16 10:16:00 +0200
commit54d9a91a3d6713d1332e93be13b4eaf0fa54349d (patch)
tree49d67d442377cafac58742e3a67b0ab1b4934a4f /arch/x86/kernel/cpu/common.c
parent439e17576eb47f26b78c5bbc72e344d4206d2327 (diff)
downloadlinux-54d9a91a3d6713d1332e93be13b4eaf0fa54349d.tar.gz
linux-54d9a91a3d6713d1332e93be13b4eaf0fa54349d.tar.bz2
linux-54d9a91a3d6713d1332e93be13b4eaf0fa54349d.zip
x86/init: Initialize signal frame size late
No point in doing this during really early boot. Move it to an early initcall so that it is set up before possible user mode helpers are started during device initialization. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20230613224545.727330699@linutronix.de
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r--arch/x86/kernel/cpu/common.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 5ee8b31ef16c..b8a4db151209 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -64,7 +64,6 @@
#include <asm/cpu_device_id.h>
#include <asm/uv/uv.h>
#include <asm/set_memory.h>
-#include <asm/sigframe.h>
#include <asm/traps.h>
#include <asm/sev.h>
@@ -1607,8 +1606,6 @@ static void __init early_identify_cpu(struct cpuinfo_x86 *c)
fpu__init_system(c);
- init_sigframe_size();
-
#ifdef CONFIG_X86_32
/*
* Regardless of whether PCID is enumerated, the SDM says