Add mips64le

This commit is contained in:
Dustin Spicuzza
2021-10-01 00:16:21 -04:00
parent b6e9364682
commit 59e24d8fdb

View File

@@ -12,7 +12,8 @@ import "runtime"
// SysvShmCtl performs control operations on the shared memory segment
// specified by id.
func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) {
if runtime.GOARCH == "arm" || runtime.GOARCH == "mips64" {
if runtime.GOARCH == "arm" ||
runtime.GOARCH == "mips64" || runtime.GOARCH == "mips64le" {
cmd |= ipc_64
}