commit | 3c39e55ab1ada5eb1aa44ae6808bbee9ce76becc | [log] [tgz] |
---|---|---|
author | Benjamin Walsh <benjamin.walsh@windriver.com> | Thu Jan 12 16:49:58 2017 -0500 |
committer | Anas Nashif <nashif@linux.intel.com> | Fri Jan 13 01:36:08 2017 +0000 |
tree | dc1d2b4aee6d135e15cc984fc684b9119c988e75 | |
parent | edf981d44c5eae37a1c27f9d55c0df21ac17f453 [diff] |
arc: fix unaligned variables resulting in unaligned k_cpu_sleep_mode Force-align all variables defined via asm .word to ensure 4-byte alignment. The straddled_tick_on_idle_enter variable was a bool, which resolved in an one-byte quantity. Changing it to a 32-bit integer. It would have occupied 4 bytes anyway with alignment. Fixes ZEP-1549. Change-Id: If5e0aa1a75dbc73d896b44616f059d221fe191c6 Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>