mirror of
https://github.com/golang/go
synced 2024-11-23 21:10:05 -07:00
internal/syscall: add getrandom syscall number for ppc64/ppc64le
Change-Id: I04c1b8f2a9ac4efba227d6c0a20459420cd3dc05 Reviewed-on: https://go-review.googlesource.com/3014 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
746dec575c
commit
6cf5a733d5
@ -12,9 +12,11 @@ import (
|
||||
)
|
||||
|
||||
var randomTrap = map[string]uintptr{
|
||||
"386": 355,
|
||||
"amd64": 318,
|
||||
"arm": 384,
|
||||
"386": 355,
|
||||
"amd64": 318,
|
||||
"arm": 384,
|
||||
"ppc64": 359,
|
||||
"ppc64le": 359,
|
||||
}[runtime.GOARCH]
|
||||
|
||||
var randomUnsupported int32 // atomic
|
||||
|
Loading…
Reference in New Issue
Block a user