File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1104,7 +1104,7 @@ DEFINE_INTERRUPT_HANDLER(RunModeException)
1104
1104
_exception (SIGTRAP , regs , TRAP_UNK , 0 );
1105
1105
}
1106
1106
1107
- DEFINE_INTERRUPT_HANDLER ( single_step_exception )
1107
+ static void __single_step_exception ( struct pt_regs * regs )
1108
1108
{
1109
1109
clear_single_step (regs );
1110
1110
clear_br_trace (regs );
@@ -1121,6 +1121,11 @@ DEFINE_INTERRUPT_HANDLER(single_step_exception)
1121
1121
_exception (SIGTRAP , regs , TRAP_TRACE , regs -> nip );
1122
1122
}
1123
1123
1124
+ DEFINE_INTERRUPT_HANDLER (single_step_exception )
1125
+ {
1126
+ __single_step_exception (regs );
1127
+ }
1128
+
1124
1129
/*
1125
1130
* After we have successfully emulated an instruction, we have to
1126
1131
* check if the instruction was being single-stepped, and if so,
@@ -1130,7 +1135,7 @@ DEFINE_INTERRUPT_HANDLER(single_step_exception)
1130
1135
static void emulate_single_step (struct pt_regs * regs )
1131
1136
{
1132
1137
if (single_stepping (regs ))
1133
- single_step_exception (regs );
1138
+ __single_step_exception (regs );
1134
1139
}
1135
1140
1136
1141
static inline int __parse_fpscr (unsigned long fpscr )
You can’t perform that action at this time.
0 commit comments