summaryrefslogtreecommitdiffstats
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
authorEric Paris2014-04-22 18:39:51 +0200
committerEric Paris2014-09-23 22:21:27 +0200
commita17c8b54dc738c4fda31e8be0302cd131a04c19f (patch)
treeab8ac2099cb03bb85a06f9d7adf5f1f5167c763f /kernel/auditsc.c
parentsparc: properly conditionalize use of TIF_32BIT (diff)
downloadkernel-qcow2-linux-a17c8b54dc738c4fda31e8be0302cd131a04c19f.tar.gz
kernel-qcow2-linux-a17c8b54dc738c4fda31e8be0302cd131a04c19f.tar.xz
kernel-qcow2-linux-a17c8b54dc738c4fda31e8be0302cd131a04c19f.zip
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 <eparis@redhat.com Acked-by: David S. Miller <davem@davemloft.net> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: sparclinux@vger.kernel.org
Diffstat (limited to 'kernel/auditsc.c')
0 files changed, 0 insertions, 0 deletions