diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-14 15:10:26 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:46 -0700 |
commit | 59471438ccbebafb0d63baf8b818d0ca692f882a (patch) | |
tree | df7f285d71108dc1b382b9d4a423e9588dc51135 /drivers/staging/hv/include/VmbusPacketFormat.h | |
parent | 4d64311468a90d4ab1e83c62d63b27da598b73ea (diff) | |
download | op-kernel-dev-59471438ccbebafb0d63baf8b818d0ca692f882a.zip op-kernel-dev-59471438ccbebafb0d63baf8b818d0ca692f882a.tar.gz |
Staging: hv: remove UINT64 and INT64 and UCHAR typedefs
The UINT64 and INT64 and UCHAR typedefs are now removed from the Hyper-V
driver code.
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/include/VmbusPacketFormat.h')
-rw-r--r-- | drivers/staging/hv/include/VmbusPacketFormat.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/hv/include/VmbusPacketFormat.h b/drivers/staging/hv/include/VmbusPacketFormat.h index 7dd489a..78c4ca0 100644 --- a/drivers/staging/hv/include/VmbusPacketFormat.h +++ b/drivers/staging/hv/include/VmbusPacketFormat.h @@ -83,7 +83,7 @@ typedef struct u16 DataOffset8; u16 Length8; u16 Flags; - UINT64 TransactionId; + u64 TransactionId; } VMPACKET_DESCRIPTOR, *PVMPACKET_DESCRIPTOR; typedef u32 PREVIOUS_PACKET_OFFSET, *PPREVIOUS_PACKET_OFFSET; @@ -168,7 +168,7 @@ typedef struct _GPA_RANGE { u32 ByteCount; u32 ByteOffset; - UINT64 PfnArray[0]; + u64 PfnArray[0]; } GPA_RANGE, *PGPA_RANGE; @@ -266,10 +266,10 @@ typedef struct _VMADDITIONAL_DATA { #endif - UINT64 TotalBytes; + u64 TotalBytes; u32 ByteOffset; u32 ByteCount; - UCHAR Data[1]; + unsigned char Data[1]; } VMADDITIONAL_DATA, *PVMADDITIONAL_DATA; @@ -287,7 +287,7 @@ typedef union { } VMPACKET_LARGEST_POSSIBLE_HEADER, *PVMPACKET_LARGEST_POSSIBLE_HEADER; #define VMPACKET_DATA_START_ADDRESS(__packet) \ - (void *)(((PUCHAR)__packet) + ((PVMPACKET_DESCRIPTOR)__packet)->DataOffset8 * 8) + (void *)(((unsigned char *)__packet) + ((PVMPACKET_DESCRIPTOR)__packet)->DataOffset8 * 8) #define VMPACKET_DATA_LENGTH(__packet) \ ((((PVMPACKET_DESCRIPTOR)__packet)->Length8 - ((PVMPACKET_DESCRIPTOR)__packet)->DataOffset8) * 8) |