mirror of https://gitee.com/openkylin/linux.git
staging: unisys: vmcallinterface.h: convert pragma to __packed
Convert from pragma to __packed Signed-off-by: David Kershner <david.kershner@unisys.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e8f25f6680
commit
c3248fef2a
|
@ -82,9 +82,6 @@ enum vmcall_monitor_interface_method_tuple { /* VMCALL identification tuples */
|
||||||
|
|
||||||
/* Structures for IO VMCALLs */
|
/* Structures for IO VMCALLs */
|
||||||
|
|
||||||
/* ///////////// BEGIN PRAGMA PACK PUSH 1 ///////////////////////// */
|
|
||||||
/* ///////////// ONLY STRUCT TYPE SHOULD BE BELOW */
|
|
||||||
#pragma pack(push, 1)
|
|
||||||
/* Parameters to VMCALL_IO_CONTROLVM_ADDR interface */
|
/* Parameters to VMCALL_IO_CONTROLVM_ADDR interface */
|
||||||
struct vmcall_io_controlvm_addr_params {
|
struct vmcall_io_controlvm_addr_params {
|
||||||
/* The Guest-relative physical address of the ControlVm channel.
|
/* The Guest-relative physical address of the ControlVm channel.
|
||||||
|
@ -94,9 +91,6 @@ struct vmcall_io_controlvm_addr_params {
|
||||||
* in with the appropriate address. */
|
* in with the appropriate address. */
|
||||||
u32 channel_bytes; /* contents provided by this VMCALL (OUT) */
|
u32 channel_bytes; /* contents provided by this VMCALL (OUT) */
|
||||||
u8 unused[4]; /* Unused Bytes in the 64-Bit Aligned Struct */
|
u8 unused[4]; /* Unused Bytes in the 64-Bit Aligned Struct */
|
||||||
};
|
} __packed;
|
||||||
|
|
||||||
#pragma pack(pop)
|
|
||||||
/* ///////////// END PRAGMA PACK PUSH 1 /////////////////////////// */
|
|
||||||
|
|
||||||
#endif /* __IOMONINTF_H__ */
|
#endif /* __IOMONINTF_H__ */
|
||||||
|
|
Loading…
Reference in New Issue