diff options
author | Ian Lance Taylor <iant@golang.org> | 2020-11-28 11:29:25 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2020-11-30 12:24:17 -0800 |
commit | eafb46ce90c23efd22c61d941face060bb9f11f3 (patch) | |
tree | a66c1fa79622da36da5156dfa462409c2b63ad0d | |
parent | 9ebad4b01c22d4c03a3552fd6b0e86c9de0ce6bd (diff) | |
download | gcc-eafb46ce90c23efd22c61d941face060bb9f11f3.zip gcc-eafb46ce90c23efd22c61d941face060bb9f11f3.tar.gz gcc-eafb46ce90c23efd22c61d941face060bb9f11f3.tar.bz2 |
internal/cpu: don't define CacheLinePadSize for mips64x
For libgo the definition comes from the generated file cpugen.go.
Fixes PR go/98041
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/273866
-rw-r--r-- | gcc/go/gofrontend/MERGE | 2 | ||||
-rw-r--r-- | libgo/go/internal/cpu/cpu_mips64x.go | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index eec3d07..45f62b3 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -84506e0f6bf282765856cb5aeb17124222f73042 +2cc5c746ddfbaeb731f10f2232b9a488df12b71e The first line of this file holds the git revision number of the last merge done from the gofrontend repository. 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 |