arch: arm: Fix build warning

Change fixes a build warning related to attribute ignored in
declaration of struct. The __packed attribute is removed.

Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no>
This commit is contained in:
Marek Pieta 2021-05-19 08:02:37 +02:00 committed by Kumar Gala
commit 94cc9a9bdb

View file

@ -111,7 +111,7 @@ struct _thread_arch {
uint32_t mode;
#if defined(CONFIG_ARM_STORE_EXC_RETURN)
__packed struct {
struct {
uint8_t mode_bits;
uint8_t mode_exc_return;
uint16_t mode_reserved2;