[PATCH 27/30] staging: unisys: vmcall_channel_version_mismatch
Benjamin Romer
benjamin.romer at unisys.com
Tue Feb 10 17:59:01 UTC 2015
From: Jeffrey Brown <Jeffrey.Brown at unisys.com>
Replaced "pragma pack(push, 1)" and "pragma pack(pop)" with
__packed
Signed-off-by: Jeffrey Brown <Jeffrey.Brown at unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer at unisys.com>
---
drivers/staging/unisys/common-spar/include/vmcallinterface.h | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/include/vmcallinterface.h b/drivers/staging/unisys/common-spar/include/vmcallinterface.h
index 8373f80..a6d9619 100644
--- a/drivers/staging/unisys/common-spar/include/vmcallinterface.h
+++ b/drivers/staging/unisys/common-spar/include/vmcallinterface.h
@@ -123,19 +123,14 @@ struct vmcall_io_diag_addr_params {
u64 address; /* contents provided by this VMCALL (OUT) */
} __packed;
-/* ///////////// BEGIN PRAGMA PACK PUSH 1 ///////////////////////// */
/* ///////////// ONLY STRUCT TYPE SHOULD BE BELOW */
-#pragma pack(push, 1)
/* Parameters to VMCALL_IO_VISORSERIAL_ADDR interface */
struct vmcall_io_visorserial_addr_params {
/* The Guest-relative physical address of the serial console
* channel. This VMCall fills this in with the appropriate
* address. */
u64 address; /* contents provided by this VMCALL (OUT) */
-};
-
-#pragma pack(pop)
-/* ///////////// END PRAGMA PACK PUSH 1 /////////////////////////// */
+} __packed;
/* Parameters to VMCALL_CHANNEL_MISMATCH interface */
struct vmcall_channel_version_mismatch_params {
--
2.1.0
More information about the devel
mailing list