diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-06 07:44:06 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-06 09:53:08 +0200 |
commit | 7af6b58c5c991a8c5ca6a5c9df546b7faea7b97c (patch) | |
tree | c515b3e49d090f7895f071032643f4c255ca941f /cpukit/libmisc/capture/capture.h | |
parent | 1c18ebf0d637bea1101c4b16e3844103524a5281 (diff) |
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.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libmisc/capture/capture.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; /* |