Skip to content

Commit 88c5324

Browse files
XiaodongLoongIan Lance Taylor
authored andcommitted
internal/syscall/unix: loong64 use generic syscall
Contributors to the loong64 port are: Weining Lu <[email protected]> Lei Wang <[email protected]> Lingqin Gong <[email protected]> Xiaolin Zhao <[email protected]> Meidan Li <[email protected]> Xiaojuan Zhai <[email protected]> Qiyuan Pu <[email protected]> Guoqi Chen <[email protected]> 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 <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Run-TryBot: David Chase <[email protected]> Reviewed-by: David Chase <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent d28bf6c commit 88c5324

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/internal/syscall/unix/at_sysnum_fstatat_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build arm64 || riscv64
5+
//go:build arm64 || loong64 || riscv64
66

77
package unix
88

src/internal/syscall/unix/sysnum_linux_generic.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build linux && (arm64 || riscv64)
5+
//go:build linux && (arm64 || loong64 || riscv64)
66

77
package unix
88

99
// This file is named "generic" because at a certain point Linux started
1010
// standardizing on system call numbers across architectures. So far this
11-
// means only arm64 and riscv64 use the standard numbers.
11+
// means only arm64 loong64 and riscv64 use the standard numbers.
1212

1313
const (
1414
getrandomTrap uintptr = 278

0 commit comments

Comments
 (0)