Staging: hv: remove HANDLE typedef
authorBill Pemberton <wfp5p@virginia.edu>
Tue, 28 Jul 2009 17:46:26 +0000 (13:46 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:52 +0000 (12:01 -0700)
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/Hv.c
drivers/staging/hv/Hv.h
drivers/staging/hv/include/osd.h

index 2a8a652..0883179 100644 (file)
@@ -235,8 +235,8 @@ HvInit (
 
        DPRINT_ENTER(VMBUS);
 
-       memset(gHvContext.synICEventPage, 0, sizeof(HANDLE)*MAX_NUM_CPUS);
-       memset(gHvContext.synICMessagePage, 0, sizeof(HANDLE)*MAX_NUM_CPUS);
+       memset(gHvContext.synICEventPage, 0, sizeof(void *) * MAX_NUM_CPUS);
+       memset(gHvContext.synICMessagePage, 0, sizeof(void *) * MAX_NUM_CPUS);
 
        if (!HvQueryHypervisorPresence())
        {
index a62ac33..b5ea3dc 100644 (file)
@@ -119,8 +119,8 @@ typedef struct {
        HV_INPUT_SIGNAL_EVENT_BUFFER *SignalEventBuffer;
        HV_INPUT_SIGNAL_EVENT *SignalEventParam; /* 8-bytes aligned of the buffer above */
 
-       HANDLE  synICMessagePage[MAX_NUM_CPUS];
-       HANDLE  synICEventPage[MAX_NUM_CPUS];
+       void *synICMessagePage[MAX_NUM_CPUS];
+       void *synICEventPage[MAX_NUM_CPUS];
 } HV_CONTEXT;
 
 extern HV_CONTEXT gHvContext;
index 2cd2cf0..2a47d14 100644 (file)
@@ -46,7 +46,6 @@ typedef struct _DLIST_ENTRY {
 /* Other types */
 
 /* typedef unsigned char               GUID[16]; */
-typedef void*                          HANDLE;
 
 typedef void (*PFN_WORKITEM_CALLBACK)(void* context);
 typedef void (*PFN_TIMER_CALLBACK)(void* context);