diff options
author | Xiaotian Wu <wuxiaotian@loongson.cn> | 2021-02-09 15:39:13 +0800 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-02-18 22:07:30 -0500 |
commit | 6966ec77b195ac289ae168c7c5646d59a307f33f (patch) | |
tree | daa4e9a4febf1e891195a61c608b6fc0155967ff /tools/util.c | |
parent | 315f7b9ec6d8992035a2c0f652949ee34843db32 (diff) | |
download | libseccomp-6966ec77b195ac289ae168c7c5646d59a307f33f.tar.gz |
arch: Add 64-bit LoongArch support
Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: WANG Xuerui <git@xen0n.name>
Acked-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/util.c')
-rw-r--r-- | tools/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/util.c b/tools/util.c index afea6c9..327fc14 100644 --- a/tools/util.c +++ b/tools/util.c @@ -44,6 +44,8 @@ #define ARCH_NATIVE AUDIT_ARCH_ARM #elif __aarch64__ #define ARCH_NATIVE AUDIT_ARCH_AARCH64 +#elif __loongarch64 +#define ARCH_NATIVE AUDIT_ARCH_LOONGARCH64 #elif __mips__ && _MIPS_SIM == _MIPS_SIM_ABI32 #if __MIPSEB__ #define ARCH_NATIVE AUDIT_ARCH_MIPS |