diff options
author | Eric Paris <eparis@redhat.com> | 2014-04-22 16:07:30 (GMT) |
---|---|---|
committer | Honghua Yin <Hong-Hua.Yin@freescale.com> | 2015-03-30 09:21:48 (GMT) |
commit | 706e8506db6e4ae12f319f2f69b75e47c49ffbfe (patch) | |
tree | 6598bd19837e87a662414f2da6ba2c394ee95663 /kernel/pid.c | |
parent | b60f6873f5db357aefb8979753cc7f4eb0dff96e (diff) | |
download | linux-fsl-qoriq-706e8506db6e4ae12f319f2f69b75e47c49ffbfe.tar.xz |
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>
(cherry picked from commit 75dddcbd9651eec29708f91149e405cd42cf68d7)
Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Change-Id: Ie3eb2b996101ff3fbd8e3d44c708cd0d94bfb9f3
Reviewed-on: http://git.am.freescale.net:8181/33025
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'kernel/pid.c')
0 files changed, 0 insertions, 0 deletions