From 88c5324f2ea7ebc2fb3f12c3c821096382663aa9 Mon Sep 17 00:00:00 2001 From: Xiaodong Liu Date: Mon, 15 Nov 2021 20:59:24 +0800 Subject: internal/syscall/unix: loong64 use generic syscall Contributors to the loong64 port are: Weining Lu Lei Wang Lingqin Gong Xiaolin Zhao Meidan Li Xiaojuan Zhai Qiyuan Pu Guoqi Chen This port has been updated to Go 1.15.6: https://github.com/loongson/go Updates #46229 Change-Id: I5988bf3efed37b03b9193f1089dfece060ccba99 Reviewed-on: https://go-review.googlesource.com/c/go/+/363934 Auto-Submit: Ian Lance Taylor TryBot-Result: Gopher Robot Reviewed-by: Ian Lance Taylor Run-TryBot: David Chase Reviewed-by: David Chase Run-TryBot: Ian Lance Taylor Reviewed-by: Ian Lance Taylor --- src/internal/syscall/unix/sysnum_linux_generic.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/internal/syscall/unix/sysnum_linux_generic.go') diff --git a/src/internal/syscall/unix/sysnum_linux_generic.go b/src/internal/syscall/unix/sysnum_linux_generic.go index 3c5394a96b..8c132c6bf5 100644 --- a/src/internal/syscall/unix/sysnum_linux_generic.go +++ b/src/internal/syscall/unix/sysnum_linux_generic.go @@ -2,13 +2,13 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build linux && (arm64 || riscv64) +//go:build linux && (arm64 || loong64 || riscv64) package unix // This file is named "generic" because at a certain point Linux started // standardizing on system call numbers across architectures. So far this -// means only arm64 and riscv64 use the standard numbers. +// means only arm64 loong64 and riscv64 use the standard numbers. const ( getrandomTrap uintptr = 278 -- cgit v1.2.1