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/HvPtApi.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/HvPtApi.h')
-rw-r--r-- | drivers/staging/hv/include/HvPtApi.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/staging/hv/include/HvPtApi.h b/drivers/staging/hv/include/HvPtApi.h index 7b59234..b79e543 100644 --- a/drivers/staging/hv/include/HvPtApi.h +++ b/drivers/staging/hv/include/HvPtApi.h @@ -57,15 +57,15 @@ typedef enum _HV_GUEST_OS_MICROSOFT_IDS typedef union _HV_X64_MSR_GUEST_OS_ID_CONTENTS { - UINT64 AsUINT64; + u64 AsUINT64; struct { - UINT64 BuildNumber : 16; - UINT64 ServiceVersion : 8; // Service Pack, etc. - UINT64 MinorVersion : 8; - UINT64 MajorVersion : 8; - UINT64 OsId : 8; // HV_GUEST_OS_MICROSOFT_IDS (If Vendor=MS) - UINT64 VendorId : 16; // HV_GUEST_OS_VENDOR + u64 BuildNumber : 16; + u64 ServiceVersion : 8; // Service Pack, etc. + u64 MinorVersion : 8; + u64 MajorVersion : 8; + u64 OsId : 8; // HV_GUEST_OS_MICROSOFT_IDS (If Vendor=MS) + u64 VendorId : 16; // HV_GUEST_OS_VENDOR }; } HV_X64_MSR_GUEST_OS_ID_CONTENTS, *PHV_X64_MSR_GUEST_OS_ID_CONTENTS; @@ -76,11 +76,11 @@ typedef union _HV_X64_MSR_GUEST_OS_ID_CONTENTS typedef union _HV_X64_MSR_HYPERCALL_CONTENTS { - UINT64 AsUINT64; + u64 AsUINT64; struct { - UINT64 Enable : 1; - UINT64 Reserved : 11; - UINT64 GuestPhysicalAddress : 52; + u64 Enable : 1; + u64 Reserved : 11; + u64 GuestPhysicalAddress : 52; }; } HV_X64_MSR_HYPERCALL_CONTENTS, *PHV_X64_MSR_HYPERCALL_CONTENTS; |