OSDN Git Service

soc: qcom: hab: add __packed for export_desc
authorYong Ding <yongding@codeaurora.org>
Wed, 29 Nov 2017 09:31:05 +0000 (17:31 +0800)
committerYong Ding <yongding@codeaurora.org>
Thu, 30 Nov 2017 03:20:12 +0000 (11:20 +0800)
commitef8ff2ece9a112a3469d7fb242b73e9ea21843e4
tree397221d7ec515766056960aacdd5ef66f9d618be
parent29a654b02228754e25f675f05015a19c6fc5d2e2
soc: qcom: hab: add __packed for export_desc

The export_desc structure is shared among Hypervisor and
GVMs(Guest Virtual Machines). With the explicit __packed
declared, it can have exactly the same memory layout in
Hypervisor and GVMs.

Change-Id: Iccd25e617dd3152f808593dd54b0a20baad02541
Signed-off-by: Yong Ding <yongding@codeaurora.org>
drivers/soc/qcom/hab/hab.h