summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-09-06 07:44:06 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-09-06 09:53:08 +0200
commit7af6b58c5c991a8c5ca6a5c9df546b7faea7b97c (patch)
treec515b3e49d090f7895f071032643f4c255ca941f
parentlibmisc/capture: Remove the reserved _t in the types. (diff)
downloadrtems-7af6b58c5c991a8c5ca6a5c9df546b7faea7b97c.tar.bz2
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.
-rw-r--r--cpukit/libmisc/capture/capture.h2
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;
/*