internal/syscall/unix: add randomTrap for m68k
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 22 Mar 2017 23:51:35 +0000 (23:51 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 22 Mar 2017 23:51:35 +0000 (23:51 +0000)
    Patch by Andrwas Schwab.

    Reviewed-on: https://go-review.googlesource.com/38456

From-SVN: r246410

libgo/go/internal/syscall/unix/getrandom_linux_m68k.go [new file with mode: 0644]

diff --git a/libgo/go/internal/syscall/unix/getrandom_linux_m68k.go b/libgo/go/internal/syscall/unix/getrandom_linux_m68k.go
new file mode 100644 (file)
index 0000000..5559d30
--- /dev/null
@@ -0,0 +1,9 @@
+// Copyright 2017 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.
+
+package unix
+
+// Linux getrandom system call number.
+// See GetRandom in getrandom_linux.go.
+const randomTrap uintptr = 352