From: Stuart Menefy Date: Mon, 24 Aug 2009 09:16:56 +0000 (+0900) Subject: sh: Add sys_cacheflush() call for SH CPUs. X-Git-Tag: v2.6.32-rc1~640^2~35^2~14^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d243dd37002bcee54841852ab1b8606fd457851;p=pandora-kernel.git 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 Signed-off-by: Paul Mundt --- Reading git-diff-tree failed