From 7af6b58c5c991a8c5ca6a5c9df546b7faea7b97c Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 6 Sep 2016 07:44:06 +0200 Subject: capture: Workaround to avoid misaligned access Move the 64-bit field to a not 64-bit aligned structure offset to stop the compiler from generating 64-bit load/store operations. --- cpukit/libmisc/capture/capture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/libmisc/capture/capture.h b/cpukit/libmisc/capture/capture.h index 524edbb223..b22b735799 100644 --- a/cpukit/libmisc/capture/capture.h +++ b/cpukit/libmisc/capture/capture.h @@ -172,8 +172,8 @@ typedef struct rtems_capture_record { size_t size; uint32_t events; - rtems_capture_time time; rtems_id task_id; + rtems_capture_time time; } RTEMS_PACKED rtems_capture_record; /* -- cgit v1.2.3