From: Eric Paris Date: Wed, 19 Mar 2014 23:04:52 +0000 (-0400) Subject: Alpha: define syscall_get_arch() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0451623ad780a478b11c29736dae506e0059966a;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git Alpha: define syscall_get_arch() Since Alpha supports syscall audit it now needs to have a syscall.h which implements syscall_get_arch() rather than hard coding this value into audit_syscall_entry(). Based-on-patch-by: Richard Briggs Signed-off-by: Eric Paris Cc: linux-alpha@vger.kernel.org --- diff --git a/arch/alpha/include/asm/syscall.h b/arch/alpha/include/asm/syscall.h new file mode 100644 index 000000000000..88d28eb2a566 --- /dev/null +++ b/arch/alpha/include/asm/syscall.h @@ -0,0 +1,11 @@ +#ifndef _ASM_ALPHA_SYSCALL_H +#define _ASM_ALPHA_SYSCALL_H + +#include + +static inline int syscall_get_arch(void) +{ + return AUDIT_ARCH_ALPHA; +} + +#endif /* _ASM_ALPHA_SYSCALL_H */