From 2aa474e7488d28d0184b2a2fe808b1ff0f688a0a Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 1 Nov 2021 08:22:07 -0700 Subject: pkg/atomicbitops: support 32-bit GOARCH value "mipsle" mips was supported, but mipsle had been forgotten. Fixes google/gvisor#6804 --- pkg/atomicbitops/aligned_32bit_unsafe.go | 4 ++-- pkg/atomicbitops/aligned_64bit.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/atomicbitops/aligned_32bit_unsafe.go b/pkg/atomicbitops/aligned_32bit_unsafe.go index 0e4765c48..a143c027d 100644 --- a/pkg/atomicbitops/aligned_32bit_unsafe.go +++ b/pkg/atomicbitops/aligned_32bit_unsafe.go @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build arm || mips || 386 -// +build arm mips 386 +//go:build arm || mips || mipsle || 386 +// +build arm mips mipsle 386 package atomicbitops diff --git a/pkg/atomicbitops/aligned_64bit.go b/pkg/atomicbitops/aligned_64bit.go index 2c421d920..634f0ed2c 100644 --- a/pkg/atomicbitops/aligned_64bit.go +++ b/pkg/atomicbitops/aligned_64bit.go @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build !arm && !mips && !386 -// +build !arm,!mips,!386 +//go:build !arm && !mips && !mipsle && !386 +// +build !arm,!mips,!mipsle,!386 package atomicbitops -- cgit v1.2.3