aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/syscall/libcall_linux_amd64.go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2012-01-13 23:35:44 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-01-13 23:35:44 +0000
commit4cce1836bde85844781736f0f87b51ae9393da5f (patch)
treeb5ccbc7f256537894d81c3a45c662c27829e4866 /libgo/go/syscall/libcall_linux_amd64.go
parentdd1628807a800c86b45495218cb19260bae8a846 (diff)
downloadgcc-4cce1836bde85844781736f0f87b51ae9393da5f.zip
gcc-4cce1836bde85844781736f0f87b51ae9393da5f.tar.gz
gcc-4cce1836bde85844781736f0f87b51ae9393da5f.tar.bz2
libgo: Only build iopl and ioperm on 386, amd64, alpha GNU/Linux.
From-SVN: r183171
Diffstat (limited to 'libgo/go/syscall/libcall_linux_amd64.go')
-rw-r--r--libgo/go/syscall/libcall_linux_amd64.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/libgo/go/syscall/libcall_linux_amd64.go b/libgo/go/syscall/libcall_linux_amd64.go
new file mode 100644
index 0000000..9cab9ba
--- /dev/null
+++ b/libgo/go/syscall/libcall_linux_amd64.go
@@ -0,0 +1,13 @@
+// Copyright 2012 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.
+
+// GNU/Linux library calls amd64 specific.
+
+package syscall
+
+//sys Ioperm(from int, num int, on int) (err error)
+//ioperm(from _C_long, num _C_long, on int) int
+
+//sys Iopl(level int) (err error)
+//iopl(level int) int