diff options
author | Stuart Menefy <stuart.menefy@st.com> | 2009-08-24 05:16:56 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-24 05:16:56 -0400 |
commit | 6d243dd37002bcee54841852ab1b8606fd457851 (patch) | |
tree | 9c8e55d065116647615a86e3eb0c783fe98cc83e /arch/sh/kernel/syscalls_64.S | |
parent | a5cf9e2444ec15de5407696ff21c32dd21ca0a8d (diff) |
sh: Add sys_cacheflush() call for SH CPUs.
Adds a system call to allow user code to flush code from the cache.
You can use instructions for the data side, but the iside can
only be done by a flush ROM which really only works with a direct
mapped cache. The later SH4's have 2 way Iside, so this call allows
a portable way to flush the cache.
Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/syscalls_64.S')
-rw-r--r-- | arch/sh/kernel/syscalls_64.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/syscalls_64.S b/arch/sh/kernel/syscalls_64.S index bf420b616ae0..af6fb7410c21 100644 --- a/arch/sh/kernel/syscalls_64.S +++ b/arch/sh/kernel/syscalls_64.S | |||
@@ -143,7 +143,7 @@ sys_call_table: | |||
143 | .long sys_clone /* 120 */ | 143 | .long sys_clone /* 120 */ |
144 | .long sys_setdomainname | 144 | .long sys_setdomainname |
145 | .long sys_newuname | 145 | .long sys_newuname |
146 | .long sys_ni_syscall /* sys_modify_ldt */ | 146 | .long sys_cacheflush /* x86: sys_modify_ldt */ |
147 | .long sys_adjtimex | 147 | .long sys_adjtimex |
148 | .long sys_mprotect /* 125 */ | 148 | .long sys_mprotect /* 125 */ |
149 | .long sys_sigprocmask | 149 | .long sys_sigprocmask |