Skip to content

Commit

Permalink
Add mips64le
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Spicuzza committed Oct 1, 2021
1 parent b6e9364 commit 59e24d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion unix/sysvshm_linux.go
Expand Up @@ -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
}

Expand Down

0 comments on commit 59e24d8

Please sign in to comment.