mirror of
https://github.com/openwrt/packages.git
synced 2025-07-31 09:11:09 +00:00
Changelog: https://github.com/ColinIanKing/stress-ng/releases/tag/V0.19.02 Build system: x86/64 Build-tested: x86/64-glibc Run-tested: x86/64-glibc Signed-off-by: John Audia <therealgraysky@proton.me>
27 lines
671 B
Diff
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
|
|
@@ -51,6 +51,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) && \
|