Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0451623a authored by Eric Paris's avatar Eric Paris
Browse files

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: default avatarRichard Briggs <rgb@redhat.com>
Signed-off-by: default avatarEric Paris <eparis@redhat.com>
Cc: linux-alpha@vger.kernel.org
parent 4b4665e1
Loading
Loading
Loading
Loading
+11 −0
Original line number Original line Diff line number Diff line
#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 */