kernel-fxtec-pro1x/arch/sh
Giuseppe Cavallaro 788e6af37a sh: fix sys_cacheflush error checking
sys_cacheflush should return with EINVAL if the cache parameter is not
one of ICACHE, DCACHE or BCACHE.
So, we need to include 0 in the first check.

It also adds the three definitions above as wrapper of the existent macros.

PS: ltp cacheflush01 test now passes.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-08-24 18:59:09 +09:00
..
boards Merge branches 'sh/hwblk' and 'sh/pm-runtime' 2009-08-23 18:04:07 +09:00
boot sh: Remove implicit sign extension from assembler immediates 2009-08-24 17:09:53 +09:00
cchips sh: mach-hp6xx: Fix up the hp6xx build for hd64461 changes. 2009-05-20 11:27:13 +09:00
configs sh: update kfr2r09 defconfig 2009-08-21 08:32:16 +09:00
drivers sh: Allow use of GENERIC_IOMAP 2009-08-24 16:10:40 +09:00
include sh: fix sys_cacheflush error checking 2009-08-24 18:59:09 +09:00
kernel sh: fix sys_cacheflush error checking 2009-08-24 18:59:09 +09:00
lib sh: Fix underflow in SH udelay() code. 2009-08-24 18:18:50 +09:00
lib64 sh: Convert sh64 to use the generic checksum code. 2009-06-15 00:00:42 +09:00
math-emu sh: Fix up the math-emu build. 2007-06-11 15:57:42 +09:00
mm sh: Fix problems with cache flushing when cache is in write-through mode 2009-08-24 18:39:39 +09:00
oprofile sh: oprofile: Kill off dead valid_kernel_stack(). 2009-08-14 04:59:50 +09:00
tools sh: Add mach-types entry for EcoVec board. 2009-08-20 10:14:29 +09:00
Kconfig sh: Allow for kernel command line concatenation. 2009-08-24 16:25:38 +09:00
Kconfig.cpu sh: Tidy up SH-4A boot_cpu_data.flags probing. 2009-06-01 19:50:08 +09:00
Kconfig.debug sh: Add initial support for SH7757 CPU subtype 2009-08-21 17:25:47 +09:00
Makefile sh: Add EcoVec (SH7724) board support 2009-08-20 10:13:16 +09:00