From 34dba2f7e76f3fde58eaf623afb57ab18cb7caad Mon Sep 17 00:00:00 2001 From: Adam Conrad Date: Fri, 10 Apr 2015 12:50:45 -0600 Subject: [PATCH] Add support for 32-bit big-endian PowerPC Signed-off-by: Adam Conrad --- system/setns_linux.go | 1 + system/syscall_linux_64.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/system/setns_linux.go b/system/setns_linux.go index eeeec4f5..a3c4cbb2 100644 --- a/system/setns_linux.go +++ b/system/setns_linux.go @@ -15,6 +15,7 @@ var setNsMap = map[string]uintptr{ "linux/arm64": 268, "linux/amd64": 308, "linux/arm": 375, + "linux/ppc": 350, "linux/ppc64": 350, "linux/ppc64le": 350, "linux/s390x": 339, diff --git a/system/syscall_linux_64.go b/system/syscall_linux_64.go index 5e28a3f4..0816bf82 100644 --- a/system/syscall_linux_64.go +++ b/system/syscall_linux_64.go @@ -1,4 +1,4 @@ -// +build linux,arm64 linux,amd64 linux,ppc64 linux,ppc64le linux,s390x +// +build linux,arm64 linux,amd64 linux,ppc linux,ppc64 linux,ppc64le linux,s390x package system