@@ -922,11 +922,13 @@ static const struct pt_regs_offset regoffset_table[] = {
922
922
*/
923
923
int regs_query_register_offset (const char * name )
924
924
{
925
- const struct pt_regs_offset * roff ;
926
- for (roff = regoffset_table ; roff -> name != NULL ; roff ++ )
927
- if (!strcmp (roff -> name , name ))
928
- return roff -> offset ;
929
- return - EINVAL ;
925
+ const struct pt_regs_offset * roff ;
926
+
927
+ for (roff = regoffset_table ; roff -> name != NULL ; roff ++ )
928
+ if (!strcmp (roff -> name , name ))
929
+ return roff -> offset ;
930
+
931
+ return - EINVAL ;
930
932
}
931
933
932
934
#if defined(CONFIG_32BIT ) || defined(CONFIG_MIPS32_O32 )
@@ -937,15 +939,15 @@ static const struct user_regset mips_regsets[] = {
937
939
.n = ELF_NGREG ,
938
940
.size = sizeof (unsigned int ),
939
941
.align = sizeof (unsigned int ),
940
- .regset_get = gpr32_get ,
942
+ .regset_get = gpr32_get ,
941
943
.set = gpr32_set ,
942
944
},
943
945
[REGSET_DSP ] = {
944
946
.core_note_type = NT_MIPS_DSP ,
945
947
.n = NUM_DSP_REGS + 1 ,
946
948
.size = sizeof (u32 ),
947
949
.align = sizeof (u32 ),
948
- .regset_get = dsp32_get ,
950
+ .regset_get = dsp32_get ,
949
951
.set = dsp32_set ,
950
952
.active = dsp_active ,
951
953
},
@@ -955,15 +957,15 @@ static const struct user_regset mips_regsets[] = {
955
957
.n = ELF_NFPREG ,
956
958
.size = sizeof (elf_fpreg_t ),
957
959
.align = sizeof (elf_fpreg_t ),
958
- .regset_get = fpr_get ,
960
+ .regset_get = fpr_get ,
959
961
.set = fpr_set ,
960
962
},
961
963
[REGSET_FP_MODE ] = {
962
964
.core_note_type = NT_MIPS_FP_MODE ,
963
965
.n = 1 ,
964
966
.size = sizeof (int ),
965
967
.align = sizeof (int ),
966
- .regset_get = fp_mode_get ,
968
+ .regset_get = fp_mode_get ,
967
969
.set = fp_mode_set ,
968
970
},
969
971
#endif
@@ -973,7 +975,7 @@ static const struct user_regset mips_regsets[] = {
973
975
.n = NUM_FPU_REGS + 1 ,
974
976
.size = 16 ,
975
977
.align = 16 ,
976
- .regset_get = msa_get ,
978
+ .regset_get = msa_get ,
977
979
.set = msa_set ,
978
980
},
979
981
#endif
@@ -997,15 +999,15 @@ static const struct user_regset mips64_regsets[] = {
997
999
.n = ELF_NGREG ,
998
1000
.size = sizeof (unsigned long ),
999
1001
.align = sizeof (unsigned long ),
1000
- .regset_get = gpr64_get ,
1002
+ .regset_get = gpr64_get ,
1001
1003
.set = gpr64_set ,
1002
1004
},
1003
1005
[REGSET_DSP ] = {
1004
1006
.core_note_type = NT_MIPS_DSP ,
1005
1007
.n = NUM_DSP_REGS + 1 ,
1006
1008
.size = sizeof (u64 ),
1007
1009
.align = sizeof (u64 ),
1008
- .regset_get = dsp64_get ,
1010
+ .regset_get = dsp64_get ,
1009
1011
.set = dsp64_set ,
1010
1012
.active = dsp_active ,
1011
1013
},
@@ -1015,15 +1017,15 @@ static const struct user_regset mips64_regsets[] = {
1015
1017
.n = 1 ,
1016
1018
.size = sizeof (int ),
1017
1019
.align = sizeof (int ),
1018
- .regset_get = fp_mode_get ,
1020
+ .regset_get = fp_mode_get ,
1019
1021
.set = fp_mode_set ,
1020
1022
},
1021
1023
[REGSET_FPR ] = {
1022
1024
.core_note_type = NT_PRFPREG ,
1023
1025
.n = ELF_NFPREG ,
1024
1026
.size = sizeof (elf_fpreg_t ),
1025
1027
.align = sizeof (elf_fpreg_t ),
1026
- .regset_get = fpr_get ,
1028
+ .regset_get = fpr_get ,
1027
1029
.set = fpr_set ,
1028
1030
},
1029
1031
#endif
@@ -1033,7 +1035,7 @@ static const struct user_regset mips64_regsets[] = {
1033
1035
.n = NUM_FPU_REGS + 1 ,
1034
1036
.size = 16 ,
1035
1037
.align = 16 ,
1036
- .regset_get = msa_get ,
1038
+ .regset_get = msa_get ,
1037
1039
.set = msa_set ,
1038
1040
},
1039
1041
#endif
@@ -1351,7 +1353,7 @@ asmlinkage long syscall_trace_enter(struct pt_regs *regs)
1351
1353
*/
1352
1354
asmlinkage void syscall_trace_leave (struct pt_regs * regs )
1353
1355
{
1354
- /*
1356
+ /*
1355
1357
* We may come here right after calling schedule_user()
1356
1358
* or do_notify_resume(), in which case we can be in RCU
1357
1359
* user mode.
0 commit comments