commit dd09f755fe0685b1b09330270359bc3aa4606dbe (tree)
parent 79e87e575391f63eb921de94dbf1020fa24c8e89
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Sat, 23 May 2026 10:59:52 +0200
std.atomic: add m88k to cacheLineForCpu()
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/std/atomic.zig b/lib/std/atomic.zig
@@ -442,10 +442,12 @@ pub fn cacheLineForCpu(cpu: std.Target.Cpu) u16 {
// - https://github.com/torvalds/linux/blob/3a7e02c040b130b5545e4b115aada7bacd80a2b6/arch/sparc/include/asm/cache.h#L14
// - https://github.com/torvalds/linux/blob/3a7e02c040b130b5545e4b115aada7bacd80a2b6/arch/microblaze/include/asm/cache.h#L15
// - https://github.com/torvalds/linux/blob/3a7e02c040b130b5545e4b115aada7bacd80a2b6/arch/sh/include/cpu-sh4/cpu/cache.h#L10
+ // - https://github.com/openbsd/src/blob/1957873d2063db11dab780eca75b5e629d1e838d/sys/arch/m88k/m88k/atomic.S#L22
.arm,
.armeb,
.thumb,
.thumbeb,
+ .m88k,
.microblaze,
.microblazeel,
.mips,