summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorBrad Fitzpatrick <brad@danga.com>2021-11-01 08:22:07 -0700
committerBrad Fitzpatrick <brad@danga.com>2021-11-01 08:22:07 -0700
commit2aa474e7488d28d0184b2a2fe808b1ff0f688a0a (patch)
treeed99ca1fc28690f7ae4f00d6ffef093321703c97 /pkg
parentb822923b706d6d2c5206451040f51a8c2f961353 (diff)
pkg/atomicbitops: support 32-bit GOARCH value "mipsle"
mips was supported, but mipsle had been forgotten. Fixes google/gvisor#6804
Diffstat (limited to 'pkg')
-rw-r--r--pkg/atomicbitops/aligned_32bit_unsafe.go4
-rw-r--r--pkg/atomicbitops/aligned_64bit.go4
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