mirror of
https://github.com/golang/go
synced 2024-11-17 03:04:44 -07:00
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>
This commit is contained in:
parent
d28bf6c9a2
commit
88c5324f2e
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build arm64 || riscv64
|
||||
//go:build arm64 || loong64 || riscv64
|
||||
|
||||
package unix
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user