From: Eric Paris Date: Tue, 22 Apr 2014 16:39:51 +0000 (-0400) Subject: sparc: implement is_32bit_task X-Git-Tag: fixes-against-v3.18-rc2~31^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a17c8b54dc738c4fda31e8be0302cd131a04c19f;p=pandora-kernel.git sparc: implement is_32bit_task We are currently embedding the same check from thread_info.h into syscall.h thanks to the way syscall_get_arch() was implemented in the audit tree. Instead create a new function, is_32bit_task() which is similar to that found on the powerpc arch. This simplifies the syscall.h code and makes the build/Kconfig requirements much easier to understand. Signed-off-by: Eric Paris Cc: Stephen Rothwell Cc: sparclinux@vger.kernel.org --- Reading git-diff-tree failed