summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
24081c9)
Signed-off-by: Jens Axboe <axboe@fb.com>
+ /*
+ * We need these to be properly 64-bit aligned, otherwise we
+ * can run into problems on archs that fault on unaligned fp
+ * access (ARM).
+ */
+ compiletime_assert((offsetof(struct thread_stat, percentile_list) % 8) == 0, "fp align");
+ compiletime_assert((offsetof(struct thread_stat, latency_percentile) % 8) == 0, "fp align");
+
if (endian_check()) {
log_err("fio: endianness settings appear wrong.\n");
log_err("fio: please report this to fio@vger.kernel.org\n");
if (endian_check()) {
log_err("fio: endianness settings appear wrong.\n");
log_err("fio: please report this to fio@vger.kernel.org\n");