| commit | 2cc5c746ddfbaeb731f10f2232b9a488df12b71e | [log] [tgz] |
|---|---|---|
| author | Ian Lance Taylor <iant@golang.org> | Sat Nov 28 11:29:25 2020 -0800 |
| committer | Ian Lance Taylor <iant@golang.org> | Mon Nov 30 20:24:01 2020 +0000 |
| tree | 6f6a51c2e652b40c8bb70b9ba5d7eb939bbeda34 | |
| parent | 84506e0f6bf282765856cb5aeb17124222f73042 [diff] |
internal/cpu: don't define CacheLinePadSize for mips64x For libgo the definition comes from the generated file cpugen.go. Fixes https://gcc.gnu.org/PR98041 Change-Id: I355d09f88816821a7afff3c90a7c9e148edf10b3 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/273866 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
diff --git a/libgo/go/internal/cpu/cpu_mips64x.go b/libgo/go/internal/cpu/cpu_mips64x.go index 0c4794a..af10a50 100644 --- a/libgo/go/internal/cpu/cpu_mips64x.go +++ b/libgo/go/internal/cpu/cpu_mips64x.go
@@ -6,8 +6,6 @@ package cpu -const CacheLinePadSize = 32 - // This is initialized by archauxv and should not be changed after it is // initialized. var HWCap uint