File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -893,6 +893,13 @@ static int setup_sigframe_layout(struct rt_sigframe_user_layout *user,
893
893
return err ;
894
894
}
895
895
896
+ if (system_supports_tpidr2 ()) {
897
+ err = sigframe_alloc (user , & user -> tpidr2_offset ,
898
+ sizeof (struct tpidr2_context ));
899
+ if (err )
900
+ return err ;
901
+ }
902
+
896
903
if (system_supports_sme ()) {
897
904
unsigned int vl ;
898
905
unsigned int vq = 0 ;
@@ -902,11 +909,6 @@ static int setup_sigframe_layout(struct rt_sigframe_user_layout *user,
902
909
else
903
910
vl = task_get_sme_vl (current );
904
911
905
- err = sigframe_alloc (user , & user -> tpidr2_offset ,
906
- sizeof (struct tpidr2_context ));
907
- if (err )
908
- return err ;
909
-
910
912
if (thread_za_enabled (& current -> thread ))
911
913
vq = sve_vq_from_vl (vl );
912
914
You can’t perform that action at this time.
0 commit comments