From: David Howells Date: Wed, 29 Sep 2010 00:57:02 +0000 (+0100) Subject: MN10300: Handle missing sys_cacheflush() when caching disabled X-Git-Tag: v2.6.36-rc6~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62bdb288bf464862a2801b2e53aadc6c4d100fab;p=pandora-kernel.git MN10300: Handle missing sys_cacheflush() when caching disabled When caching is disabled on the MN10300 arch, the sys_cacheflush() function is removed by conditional stuff in the makefiles, but is still referred to by the syscall table. Provide a null version that just returns 0 when caching is disabled (or -EINVAL if the arguments are silly). Signed-off-by: David Howells Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed