From: Giuseppe Cavallaro Date: Mon, 24 Aug 2009 09:59:09 +0000 (+0900) Subject: sh: fix sys_cacheflush error checking X-Git-Tag: v2.6.32-rc1~640^2~35^2~14^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=788e6af37a4ace8721eda72e4abe66fe0f6b49fd;p=pandora-kernel.git 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 Signed-off-by: Stuart Menefy Signed-off-by: Paul Mundt --- Reading git-diff-tree failed