entry-common.S (aaccf3c97418f169afdbb5855e9cbcbda34e90fd) entry-common.S (f18aef742c8fbd68e280dff0a63ba0ca6ee8ad85)
1/*
2 * linux/arch/arm/kernel/entry-common.S
3 *
4 * Copyright (C) 2000 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 282 unchanged lines hidden (view full) ---

291 mov r1, scno
292 add r0, sp, #S_OFF
293 bl syscall_trace_enter
294 mov scno, r0
295 invoke_syscall tbl, scno, r10, __sys_trace_return, reload=1
296 cmp scno, #-1 @ skip the syscall?
297 bne 2b
298 add sp, sp, #S_OFF @ restore stack
1/*
2 * linux/arch/arm/kernel/entry-common.S
3 *
4 * Copyright (C) 2000 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 282 unchanged lines hidden (view full) ---

291 mov r1, scno
292 add r0, sp, #S_OFF
293 bl syscall_trace_enter
294 mov scno, r0
295 invoke_syscall tbl, scno, r10, __sys_trace_return, reload=1
296 cmp scno, #-1 @ skip the syscall?
297 bne 2b
298 add sp, sp, #S_OFF @ restore stack
299 b ret_slow_syscall
300
299
301__sys_trace_return:
302 str r0, [sp, #S_R0 + S_OFF]! @ save returned r0
300__sys_trace_return_nosave:
301 enable_irq_notrace
303 mov r0, sp
304 bl syscall_trace_exit
305 b ret_slow_syscall
306
302 mov r0, sp
303 bl syscall_trace_exit
304 b ret_slow_syscall
305
307__sys_trace_return_nosave:
308 enable_irq_notrace
306__sys_trace_return:
307 str r0, [sp, #S_R0 + S_OFF]! @ save returned r0
309 mov r0, sp
310 bl syscall_trace_exit
311 b ret_slow_syscall
312
313 .align 5
314#ifdef CONFIG_ALIGNMENT_TRAP
315 .type __cr_alignment, #object
316__cr_alignment:

--- 148 unchanged lines hidden ---
308 mov r0, sp
309 bl syscall_trace_exit
310 b ret_slow_syscall
311
312 .align 5
313#ifdef CONFIG_ALIGNMENT_TRAP
314 .type __cr_alignment, #object
315__cr_alignment:

--- 148 unchanged lines hidden ---