From 5c4ac4e479fc64406204fab88c01112958f25b13 Mon Sep 17 00:00:00 2001 From: zhangwenlong Date: Thu, 2 May 2024 20:50:31 +0800 Subject: [PATCH] Add syscall for personality switch on loongarch64 kernel (#998) --- build-vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-vm b/build-vm index 9611a79b2..6a29e52bc 100644 --- a/build-vm +++ b/build-vm @@ -569,7 +569,7 @@ vm_set_personality_syscall() { alpha*) PERSONALITY_SYSCALL=324 ;; sparc*) PERSONALITY_SYSCALL=191 ;; ia64*) PERSONALITY_SYSCALL=1140 ;; - aarch64*) PERSONALITY_SYSCALL=92 ;; + aarch64*|loongarch*) PERSONALITY_SYSCALL=92 ;; i?86*|ppc*|arm*|sh4|cris|m68k*|s390*|unicore32|microblaze|riscv*) PERSONALITY_SYSCALL=136 ;; *) cleanup_and_exit 1 "Unknown architecture personality: '$archname'" ;; esac