aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common/entry.S
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-01-26 02:33:53 -0500
committerMike Frysinger <vapier@gentoo.org>2010-03-09 00:30:51 -0500
commite8f263dfd32a784a816fe68956e564f8ede4a9fc (patch)
tree58fcc786db192f13c3df7febee705adaaf61012c /arch/blackfin/mach-common/entry.S
parente50e2f25c5b90abd00a1e5871c45094cf5207afc (diff)
Blackfin: initial tracehook support
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-common/entry.S')
-rw-r--r--arch/blackfin/mach-common/entry.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S
index 1fa414f7852f..0df5b834d34e 100644
--- a/arch/blackfin/mach-common/entry.S
+++ b/arch/blackfin/mach-common/entry.S
@@ -736,7 +736,8 @@ ENDPROC(_system_call)
736 * this symbol need not be global anyways, so ... 736 * this symbol need not be global anyways, so ...
737 */ 737 */
738_sys_trace: 738_sys_trace:
739 pseudo_long_call _syscall_trace, p5; 739 r0 = sp;
740 pseudo_long_call _syscall_trace_enter, p5;
740 741
741 /* Execute the appropriate system call */ 742 /* Execute the appropriate system call */
742 743
@@ -760,7 +761,8 @@ _sys_trace:
760 SP += 24; 761 SP += 24;
761 [sp + PT_R0] = r0; 762 [sp + PT_R0] = r0;
762 763
763 pseudo_long_call _syscall_trace, p5; 764 r0 = sp;
765 pseudo_long_call _syscall_trace_leave, p5;
764 jump .Lresume_userspace; 766 jump .Lresume_userspace;
765ENDPROC(_sys_trace) 767ENDPROC(_sys_trace)
766 768