]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 15 Apr 2014 21:09:13 +0000 (17:09 -0400)
commit1d14a5fc2a804fd501f54241ab21c80fa978746e
tree21f8fcdff3087aee1180263b6054f3ace9ce4d63
parent4daa06f4d8b05ebbff7f18ddfdb43e8449ca4190
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