aboutsummaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/cpu/cpu_loong64.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/cpu/cpu_loong64.go b/src/internal/cpu/cpu_loong64.go
index 9a58ea251c..de7eaf0c6c 100644
--- a/src/internal/cpu/cpu_loong64.go
+++ b/src/internal/cpu/cpu_loong64.go
@@ -44,8 +44,8 @@ func doinit() {
cfg2 := get_cpucfg(2)
Loong64.HasCRC32 = cfgIsSet(cfg1, cpucfg1_CRC32)
- Loong64.HasLAMCAS = cfgIsSet(cfg2, cpucfg2_LAM_BH)
- Loong64.HasLAM_BH = cfgIsSet(cfg2, cpucfg2_LAMCAS)
+ Loong64.HasLAMCAS = cfgIsSet(cfg2, cpucfg2_LAMCAS)
+ Loong64.HasLAM_BH = cfgIsSet(cfg2, cpucfg2_LAM_BH)
osInit()
}