Skip to content

Commit

Permalink
Alpha: define syscall_get_arch()
Browse files Browse the repository at this point in the history
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 <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
Cc: linux-alpha@vger.kernel.org
  • Loading branch information
Eric Paris committed Sep 23, 2014
1 parent 4b4665e commit 0451623
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions arch/alpha/include/asm/syscall.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#ifndef _ASM_ALPHA_SYSCALL_H
#define _ASM_ALPHA_SYSCALL_H

#include <uapi/linux/audit.h>

static inline int syscall_get_arch(void)
{
return AUDIT_ARCH_ALPHA;
}

#endif /* _ASM_ALPHA_SYSCALL_H */

0 comments on commit 0451623

Please sign in to comment.