sparc: simplify syscall_get_arch()
authorEric Paris <eparis@redhat.com>
Tue, 22 Apr 2014 16:07:30 +0000 (12:07 -0400)
committerEric Paris <eparis@redhat.com>
Tue, 23 Sep 2014 20:21:27 +0000 (16:21 -0400)
commit75dddcbd9651eec29708f91149e405cd42cf68d7
tree8462eeb1e9b88d0cd8196e848881b4ffb9565d2c
parenta9ebe0b98896b276a3a1664da5f40d3b7c92f316
sparc: simplify syscall_get_arch()

Include linux/thread_info.h so we can use is_32_bit_task() cleanly.
Then just simplify syscall_get_arch() since is_32_bit_task() works for
all configuration options.

Suggested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Eric Paris <eparis@redhat.com>
arch/powerpc/include/asm/syscall.h
This page took 0.027023 seconds and 5 git commands to generate.