diff options
Diffstat (limited to 'arch/frv/kernel/entry.S')
-rw-r--r-- | arch/frv/kernel/entry.S | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/frv/kernel/entry.S b/arch/frv/kernel/entry.S index 268dfbddee3b..356e0e327a89 100644 --- a/arch/frv/kernel/entry.S +++ b/arch/frv/kernel/entry.S | |||
@@ -1149,11 +1149,10 @@ __entry_work_notifysig: | |||
1149 | # perform syscall entry tracing | 1149 | # perform syscall entry tracing |
1150 | __syscall_trace_entry: | 1150 | __syscall_trace_entry: |
1151 | LEDS 0x6320 | 1151 | LEDS 0x6320 |
1152 | setlos.p #0,gr8 | 1152 | call syscall_trace_entry |
1153 | call do_syscall_trace | ||
1154 | 1153 | ||
1155 | ldi @(gr28,#REG_SYSCALLNO),gr7 | 1154 | lddi.p @(gr28,#REG_GR(8)) ,gr8 |
1156 | lddi @(gr28,#REG_GR(8)) ,gr8 | 1155 | ori gr8,#0,gr7 ; syscall_trace_entry() returned new syscallno |
1157 | lddi @(gr28,#REG_GR(10)),gr10 | 1156 | lddi @(gr28,#REG_GR(10)),gr10 |
1158 | lddi.p @(gr28,#REG_GR(12)),gr12 | 1157 | lddi.p @(gr28,#REG_GR(12)),gr12 |
1159 | 1158 | ||
@@ -1168,11 +1167,10 @@ __syscall_exit_work: | |||
1168 | beq icc0,#1,__entry_work_pending | 1167 | beq icc0,#1,__entry_work_pending |
1169 | 1168 | ||
1170 | movsg psr,gr23 | 1169 | movsg psr,gr23 |
1171 | andi gr23,#~PSR_PIL,gr23 ; could let do_syscall_trace() call schedule() | 1170 | andi gr23,#~PSR_PIL,gr23 ; could let syscall_trace_exit() call schedule() |
1172 | movgs gr23,psr | 1171 | movgs gr23,psr |
1173 | 1172 | ||
1174 | setlos.p #1,gr8 | 1173 | call syscall_trace_exit |
1175 | call do_syscall_trace | ||
1176 | bra __entry_resume_userspace | 1174 | bra __entry_resume_userspace |
1177 | 1175 | ||
1178 | __syscall_badsys: | 1176 | __syscall_badsys: |