Skip to content
Commit 75dddcbd authored by Eric Paris's avatar Eric Paris
Browse files

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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarEric Paris <eparis@redhat.com>
parent a9ebe0b9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment