commit | df55524d6a046bcff3f050e55c1ce017e31550eb | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Fri May 25 07:28:54 2018 -0700 |
committer | Andrew Boie <andrewboie@gmail.com> | Fri May 25 13:25:04 2018 -0700 |
tree | c3054f74b0e1e7d30b9a6526c50bd6c038878f45 | |
parent | cbdfdf9e77614845afa4c0ea8401eadd55f254ff [diff] |
userspace: align _k_object to 4 bytes We want the struct to be packed to conserve space, but the perms field needs to always be on a 4-byte boundary since we do bitfield operations on it, arches like ARC require that the sys_bitfield_* operations be aligned to a 4 byte boundary. Instances of struct _k_object will now be 4-byte aligned if in an array (which they are), even though the members are still packed. Fixes: #7776 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>