diff options
author | Greg Ungerer <gerg@uclinux.org> | 2010-10-22 15:12:34 +1000 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2010-10-22 15:12:34 +1000 |
commit | 55f411de484a0136a77d050e877578a60bc2e094 (patch) | |
tree | b40c2feb325eb7558e34f2cc5e4cd7393a1082ad /arch/m68knommu/platform/68328/entry.S | |
parent | 41a2159b5b662e74a85b4824e3517f2397cc5867 (diff) | |
download | op-kernel-dev-55f411de484a0136a77d050e877578a60bc2e094.zip op-kernel-dev-55f411de484a0136a77d050e877578a60bc2e094.tar.gz |
m68knommu: convert to using tracehook_report_syscall_*
Break up syscall_trace() into separate entry and exit routines that use
tracehook_report_syscall_entry() and tracehook_report_syscall_exit().
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu/platform/68328/entry.S')
-rw-r--r-- | arch/m68knommu/platform/68328/entry.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68knommu/platform/68328/entry.S b/arch/m68knommu/platform/68328/entry.S index b3d8d73..27241e1 100644 --- a/arch/m68knommu/platform/68328/entry.S +++ b/arch/m68knommu/platform/68328/entry.S @@ -46,7 +46,7 @@ do_trace: movel #-ENOSYS,%sp@(PT_OFF_D0) /* needed for strace*/ subql #4,%sp SAVE_SWITCH_STACK - jbsr syscall_trace + jbsr syscall_trace_enter RESTORE_SWITCH_STACK addql #4,%sp movel %sp@(PT_OFF_ORIG_D0),%d1 @@ -60,7 +60,7 @@ do_trace: 1: movel %d0,%sp@(PT_OFF_D0) /* save the return value */ subql #4,%sp /* dummy return address */ SAVE_SWITCH_STACK - jbsr syscall_trace + jbsr syscall_trace_leave ret_from_signal: RESTORE_SWITCH_STACK |