mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 08:17:46 +00:00
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 <rgb@redhat.com> Signed-off-by: Eric Paris <eparis@redhat.com> Cc: linux-alpha@vger.kernel.org
This commit is contained in:
parent
4b4665e13c
commit
0451623ad7
1 changed files with 11 additions and 0 deletions
11
arch/alpha/include/asm/syscall.h
Normal file
11
arch/alpha/include/asm/syscall.h
Normal file
|
@ -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 */
|
Loading…
Add table
Reference in a new issue