Searched hist:"788 e6af37a4ace8721eda72e4abe66fe0f6b49fd" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/sh/kernel/ |
H A D | sys_sh.c | diff 788e6af37a4ace8721eda72e4abe66fe0f6b49fd Mon Aug 24 04:59:09 CDT 2009 Giuseppe Cavallaro <peppe.cavallaro@st.com> 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>
|