summaryrefslogtreecommitdiff
path: root/linux/syscall.h
diff options
context:
space:
mode:
authorCarmelo AMOROSO <carmelo.amoroso@st.com>2010-12-01 14:27:07 +0100
committerDmitry V. Levin <ldv@altlinux.org>2010-12-03 17:27:29 +0000
commitf8e56504749a4a5a79d40d115ae46718b4c949a4 (patch)
tree50914db4743c9c4662b68707e9962a01be27df02 /linux/syscall.h
parentb1467440f7c57c4ba9dc17ab9756e45c84d0adbe (diff)
downloadstrace-f8e56504749a4a5a79d40d115ae46718b4c949a4.tar.gz
sh: Add support for tracing sys_cacheflush system call
* linux/sh/syscallent.h: Update sys_cacheflush entry. * linux/syscall.h [SH] (sys_cacheflush): New function declaration. * system.c [SH] (cacheflush_flags): New xlat structure. [SH] (sys_cacheflush): New function. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> Reviewed-by: Angelo Castello <angelo.castello@st.com>
Diffstat (limited to 'linux/syscall.h')
-rw-r--r--linux/syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/syscall.h b/linux/syscall.h
index 679697fb4..e7348ff45 100644
--- a/linux/syscall.h
+++ b/linux/syscall.h
@@ -322,7 +322,7 @@ int sys_sysmips();
int sys_setpgrp(), sys_gethostname(), sys_getdtablesize(), sys_utimes();
int sys_capget(), sys_capset();
-#ifdef M68K
+#if defined M68K || defined SH
int sys_cacheflush();
#endif