diff options
author | Xiaodong Liu <liuxiaodong@loongson.cn> | 2021-11-15 20:59:24 +0800 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2022-05-17 19:57:24 +0000 |
commit | 88c5324f2ea7ebc2fb3f12c3c821096382663aa9 (patch) | |
tree | 5392a8024e25ea725e4c7e7ce4c80f9788da390b /src/internal/syscall/unix/sysnum_linux_generic.go | |
parent | d28bf6c9a2ea9b992796738d03eb3d15ffbfc0b4 (diff) | |
download | go-git-88c5324f2ea7ebc2fb3f12c3c821096382663aa9.tar.gz |
internal/syscall/unix: loong64 use generic syscall
Contributors to the loong64 port are:
Weining Lu <luweining@loongson.cn>
Lei Wang <wanglei@loongson.cn>
Lingqin Gong <gonglingqin@loongson.cn>
Xiaolin Zhao <zhaoxiaolin@loongson.cn>
Meidan Li <limeidan@loongson.cn>
Xiaojuan Zhai <zhaixiaojuan@loongson.cn>
Qiyuan Pu <puqiyuan@loongson.cn>
Guoqi Chen <chenguoqi@loongson.cn>
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 <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/internal/syscall/unix/sysnum_linux_generic.go')
-rw-r--r-- | src/internal/syscall/unix/sysnum_linux_generic.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 |