diff mbox

internal/syscall/unix: fix syscalls for m68k

Message ID mvmk27hsb5l.fsf@suse.de
State New
Headers show

Commit Message

Andreas Schwab March 22, 2017, 1:17 p.m. UTC
---
 libgo/go/internal/syscall/unix/getrandom_linux_m68k.go | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 libgo/go/internal/syscall/unix/getrandom_linux_m68k.go

Comments

Ian Lance Taylor March 22, 2017, 11:51 p.m. UTC | #1
On Wed, Mar 22, 2017 at 6:17 AM, Andreas Schwab <schwab@suse.de> wrote:
> ---
>  libgo/go/internal/syscall/unix/getrandom_linux_m68k.go | 9 +++++++++
>  1 file changed, 9 insertions(+)
>  create mode 100644 libgo/go/internal/syscall/unix/getrandom_linux_m68k.go
>
> 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
> index 0000000000..5559d30d33
> --- /dev/null
> +++ b/libgo/go/internal/syscall/unix/getrandom_linux_m68k.go
> @@ -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

Thanks.  Committed to mainline.

Ian
diff mbox

Patch

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
index 0000000000..5559d30d33
--- /dev/null
+++ b/libgo/go/internal/syscall/unix/getrandom_linux_m68k.go
@@ -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