File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,4 @@ struct rt_sigframe_x32 {
85
85
86
86
#endif /* CONFIG_X86_64 */
87
87
88
- void __init init_sigframe_size (void );
89
-
90
88
#endif /* _ASM_X86_SIGFRAME_H */
Original file line number Diff line number Diff line change 63
63
#include <asm/cpu_device_id.h>
64
64
#include <asm/uv/uv.h>
65
65
#include <asm/set_memory.h>
66
- #include <asm/sigframe.h>
67
66
#include <asm/traps.h>
68
67
#include <asm/sev.h>
69
68
@@ -1578,8 +1577,6 @@ static void __init early_identify_cpu(struct cpuinfo_x86 *c)
1578
1577
1579
1578
fpu__init_system (c );
1580
1579
1581
- init_sigframe_size ();
1582
-
1583
1580
#ifdef CONFIG_X86_32
1584
1581
/*
1585
1582
* Regardless of whether PCID is enumerated, the SDM says
Original file line number Diff line number Diff line change @@ -724,7 +724,7 @@ SYSCALL_DEFINE0(rt_sigreturn)
724
724
static unsigned long __ro_after_init max_frame_size ;
725
725
static unsigned int __ro_after_init fpu_default_state_size ;
726
726
727
- void __init init_sigframe_size (void )
727
+ static int __init init_sigframe_size (void )
728
728
{
729
729
fpu_default_state_size = fpu__get_fpstate_size ();
730
730
@@ -736,7 +736,9 @@ void __init init_sigframe_size(void)
736
736
max_frame_size = round_up (max_frame_size , FRAME_ALIGNMENT );
737
737
738
738
pr_info ("max sigframe size: %lu\n" , max_frame_size );
739
+ return 0 ;
739
740
}
741
+ early_initcall (init_sigframe_size );
740
742
741
743
unsigned long get_sigframe_size (void )
742
744
{
You can’t perform that action at this time.
0 commit comments