Commit graph android_kernel_sony_sdm845/arch/blackfin/include/asm/cachectl.h
Message SHA1
Blackfin: add new cacheflush syscall
Flushing caches sometimes requires anomaly workarounds which require
supervisor-only insns.  Normally we don't need to flush caches from
userspace so this isn't a problem, but when gcc generates trampolines
on the stack, we do.

So add a new syscall for gcc to use modeled after the mips version.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>

Sonic Zhang   authored and   Mike Frysinger   commited 2010-10-22 03:48:59 -04:00
99a5b2878b