staging: unisys: Move phys_info to iochannel.h
authorDavid Kershner <david.kershner@unisys.com>
Fri, 12 Jun 2015 20:46:06 +0000 (16:46 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Jun 2015 00:08:07 +0000 (17:08 -0700)
This moves phys_info to iochannel.h. It is only
used by iochannel.h and is not needed in
vmcallinterfaces.h.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/iochannel.h
drivers/staging/unisys/visorbus/vmcallinterface.h

index cbb58757e76ae14c2fff265b845a443a78a7e189..ee28cdc1c703c4d42c8071591d9575de7513eac0 100644 (file)
@@ -149,6 +149,12 @@ enum vdisk_mgmt_types {
 
 /* structs with pragma pack  */
 
+struct phys_info {
+       u64 pi_pfn;
+       u16 pi_off;
+       u16 pi_len;
+} __packed;
+
 /* ///////////// BEGIN PRAGMA PACK PUSH 1 ///////////////////////// */
 /* ///////////// ONLY STRUCT TYPE SHOULD BE BELOW */
 
index dc09caf7d07524cf6fb81bb81c9de718b171ae50..7a53df00726a31be9ce3180cc0deef8e70cceef5 100644 (file)
@@ -91,18 +91,6 @@ enum vmcall_monitor_interface_method_tuple { /* VMCALL identification tuples  */
 
 /* 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 /////////////////////////// */
-
 /* ///////////// BEGIN PRAGMA PACK PUSH 1 ///////////////////////// */
 /* ///////////// ONLY STRUCT TYPE SHOULD BE BELOW */
 #pragma pack(push, 1)
This page took 0.025333 seconds and 5 git commands to generate.