forked from luck/tmp_suning_uos_patched
staging: unisys: Move phys_info to iochannel.h
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>
This commit is contained in:
parent
df7f46e83c
commit
c20a99f8c3
|
@ -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 */
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user