Commit 6cf5a733 authored by Shenghou Ma's avatar Shenghou Ma Committed by Minux Ma

internal/syscall: add getrandom syscall number for ppc64/ppc64le

Change-Id: I04c1b8f2a9ac4efba227d6c0a20459420cd3dc05
Reviewed-on: https://go-review.googlesource.com/3014Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 746dec57
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment