]> git.baikalelectronics.ru Git - kernel.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, 23 Sep 2014 20:20:01 +0000 (16:20 -0400)
commitaadf42d5b15a7b83dd1507498bbcc81bec1b79cb
tree8411accdca930539ea89055565d8e244d0dbc35d
parentf40229f171fb655ff6e0c788ebb3f9ce11c708cf
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