Files
packages/utils/stress-ng/patches/002-disable-atomics-mips-and-ppc.patch
Alexandru Ardelean 9ab19754f2 stress-ng: bump to version 0.19.04
This change bumps the version of stress-ng to 0.19.04

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-09-23 17:50:46 +03:00

27 lines
671 B
Diff

--- a/stress-fractal.c
+++ b/stress-fractal.c
@@ -90,6 +90,10 @@ static void stress_fractal_deinit(void)
}
}
+#if (defined(STRESS_ARCH_MIPS) || defined(STRESS_ARCH_PPC64) || defined(STRESS_ARCH_PPC))
+#undef HAVE_ATOMIC_FETCH_ADD
+#endif
+
/*
* stress_fractal_get_row()
* get next row to be computed, will wrap around. Wrap arounds
--- a/stress-misaligned.c
+++ b/stress-misaligned.c
@@ -52,6 +52,10 @@
#undef HAVE_ATOMIC
#endif
+#if (defined(STRESS_ARCH_MIPS) || defined(STRESS_ARCH_PPC64) || defined(STRESS_ARCH_PPC))
+#undef HAVE_ATOMIC
+#endif
+
#if defined(HAVE_LIB_RT) && \
defined(HAVE_TIMER_CREATE) && \
defined(HAVE_TIMER_DELETE) && \