[PATCH 24/30] staging: unisys: vmcallintferace phys_info pragma
Benjamin Romer
benjamin.romer at unisys.com
Tue Feb 10 17:58:58 UTC 2015
From: Jeffrey Brown <Jeffrey.Brown at unisys.com>
Changed pragma code surrounding the struct phys_info with a
__packed statement
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 7833371..3a2af50 100644
--- a/drivers/staging/unisys/common-spar/include/vmcallinterface.h
+++ b/drivers/staging/unisys/common-spar/include/vmcallinterface.h
@@ -96,17 +96,12 @@ do { \
/* Structures for IO VMCALLs */
-/* ///////////// BEGIN PRAGMA PACK PUSH 1 ///////////////////////// */
/* ///////////// ONLY STRUCT TYPE SHOULD BE BELOW */
-#pragma pack(push, 1)
struct phys_info {
u64 pi_pfn;
u16 pi_off;
u16 pi_len;
-};
-
-#pragma pack(pop)
-/* ///////////// END PRAGMA PACK PUSH 1 /////////////////////////// */
+} __packed;
/* ///////////// BEGIN PRAGMA PACK PUSH 1 ///////////////////////// */
/* ///////////// ONLY STRUCT TYPE SHOULD BE BELOW */
--
2.1.0
More information about the devel
mailing list