summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/stat.c b/stat.c
index 85bd728d..6a3610f4 100644
--- a/stat.c
+++ b/stat.c
@@ -1144,10 +1144,14 @@ void sum_thread_stats(struct thread_stat *dst, struct thread_stat *src, int nr)
int m;
for (m = 0; m < FIO_IO_U_PLAT_NR; m++) {
+ /* HACK to prevent bus error in arm GCC 4.9 */
+ dst->io_u_plat[k][m]+=1;
if (!dst->unified_rw_rep)
dst->io_u_plat[k][m] += src->io_u_plat[k][m];
else
dst->io_u_plat[0][m] += src->io_u_plat[k][m];
+ /* HACK to prevent bus error in arm GCC 4.9 */
+ dst->io_u_plat[k][m]-=1;
}
}