Skip to content

Commit

Permalink
Add syscall for personality switch on loongarch64 kernel (openSUSE#998)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangwenlong8911 authored May 2, 2024
1 parent 8d28409 commit 5c4ac4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-vm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c4ac4e

Please sign in to comment.