summaryrefslogtreecommitdiff
path: root/libgo/go/internal/syscall/unix/getrandom_linux_mipsx.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/internal/syscall/unix/getrandom_linux_mipsx.go')
-rw-r--r--libgo/go/internal/syscall/unix/getrandom_linux_mipsx.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/libgo/go/internal/syscall/unix/getrandom_linux_mipsx.go b/libgo/go/internal/syscall/unix/getrandom_linux_mipsx.go
new file mode 100644
index 00000000000..af7b7229b1b
--- /dev/null
+++ b/libgo/go/internal/syscall/unix/getrandom_linux_mipsx.go
@@ -0,0 +1,11 @@
+// Copyright 2016 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build mips mipsle
+
+package unix
+
+// Linux getrandom system call number.
+// See GetRandom in getrandom_linux.go.
+const randomTrap uintptr = 4353