SH: define syscall_get_arch() for superh
authorEric Paris <eparis@redhat.com>
Tue, 11 Mar 2014 17:41:04 +0000 (13:41 -0400)
committerEric Paris <eparis@redhat.com>
Tue, 23 Sep 2014 20:20:01 +0000 (16:20 -0400)
commit37d181bbfe387346b00bd722acfdf93685ac73b3
tree8411accdca930539ea89055565d8e244d0dbc35d
parent1002d94d30765b1faf0840adef9ed7e6b7aa5783
SH: define syscall_get_arch() for superh

This patch defines syscall_get_arch() for the superh platform.  It does
so in both syscall_32.h and syscall_64.h.  I'm not certain if the
implementation in syscall_64.h couldn't just be used in syscall.h as I
can't really track the setting of CONFIG_64BIT...

This way is safe, but we might be able to combine these if a superh
person were able to review...

[v2]
fixed indentation stoopidity (Sergei Shtylyov)
use AUDIT_ARCH_SH instead of EM_SH

Based-on-patch-by: Richard Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
Cc: linux-sh@vger.kernel.org
arch/sh/include/asm/syscall_32.h
arch/sh/include/asm/syscall_64.h