diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-14 15:09:36 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:46 -0700 |
commit | 4d64311468a90d4ab1e83c62d63b27da598b73ea (patch) | |
tree | 958df2af78911f7f6d66040f7fbcd965a1cbd4b6 /drivers/staging/hv/Hv.c | |
parent | 5cd508bc3ac032343e6853cd5712ac392942fb2c (diff) | |
download | op-kernel-dev-4d64311468a90d4ab1e83c62d63b27da598b73ea.zip op-kernel-dev-4d64311468a90d4ab1e83c62d63b27da598b73ea.tar.gz |
Staging: hv: remove UINT32 and INT32 typedefs
The UINT32 and INT32 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/Hv.c')
-rw-r--r-- | drivers/staging/hv/Hv.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/staging/hv/Hv.c b/drivers/staging/hv/Hv.c index 3a37c12..20686d5 100644 --- a/drivers/staging/hv/Hv.c +++ b/drivers/staging/hv/Hv.c @@ -188,16 +188,16 @@ HvDoHypercall ( #else - UINT32 controlHi = Control >> 32; - UINT32 controlLo = Control & 0xFFFFFFFF; - UINT32 hvStatusHi = 1; - UINT32 hvStatusLo = 1; + u32 controlHi = Control >> 32; + u32 controlLo = Control & 0xFFFFFFFF; + u32 hvStatusHi = 1; + u32 hvStatusLo = 1; UINT64 inputAddress = (Input) ? GetPhysicalAddress(Input) : 0; - UINT32 inputAddressHi = inputAddress >> 32; - UINT32 inputAddressLo = inputAddress & 0xFFFFFFFF; + u32 inputAddressHi = inputAddress >> 32; + u32 inputAddressLo = inputAddress & 0xFFFFFFFF; UINT64 outputAddress = (Output) ?GetPhysicalAddress(Output) : 0; - UINT32 outputAddressHi = outputAddress >> 32; - UINT32 outputAddressLo = outputAddress & 0xFFFFFFFF; + u32 outputAddressHi = outputAddress >> 32; + u32 outputAddressLo = outputAddress & 0xFFFFFFFF; volatile void* hypercallPage = gHvContext.HypercallPage; DPRINT_DBG(VMBUS, "Hypercall <control %llx input %p output %p>", @@ -312,7 +312,7 @@ HvInit ( } gHvContext.SignalEventParam = (PHV_INPUT_SIGNAL_EVENT)(ALIGN_UP((ULONG_PTR)gHvContext.SignalEventBuffer, HV_HYPERCALL_PARAM_ALIGN)); - gHvContext.SignalEventParam->ConnectionId.AsUINT32 = 0; + gHvContext.SignalEventParam->ConnectionId.Asu32 = 0; gHvContext.SignalEventParam->ConnectionId.u.Id = VMBUS_EVENT_CONNECTION_ID; gHvContext.SignalEventParam->FlagNumber = 0; gHvContext.SignalEventParam->RsvdZ = 0; @@ -471,7 +471,7 @@ Description: --*/ int HvSynicInit ( - UINT32 irqVector + u32 irqVector ) { UINT64 version; |