Commit 44f357f8 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

Staging: hv: remove HANDLE typedef

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 06d2e318
...@@ -235,8 +235,8 @@ HvInit ( ...@@ -235,8 +235,8 @@ HvInit (
DPRINT_ENTER(VMBUS); DPRINT_ENTER(VMBUS);
memset(gHvContext.synICEventPage, 0, sizeof(HANDLE)*MAX_NUM_CPUS); memset(gHvContext.synICEventPage, 0, sizeof(void *) * MAX_NUM_CPUS);
memset(gHvContext.synICMessagePage, 0, sizeof(HANDLE)*MAX_NUM_CPUS); memset(gHvContext.synICMessagePage, 0, sizeof(void *) * MAX_NUM_CPUS);
if (!HvQueryHypervisorPresence()) if (!HvQueryHypervisorPresence())
{ {
......
...@@ -119,8 +119,8 @@ typedef struct { ...@@ -119,8 +119,8 @@ typedef struct {
HV_INPUT_SIGNAL_EVENT_BUFFER *SignalEventBuffer; HV_INPUT_SIGNAL_EVENT_BUFFER *SignalEventBuffer;
HV_INPUT_SIGNAL_EVENT *SignalEventParam; /* 8-bytes aligned of the buffer above */ HV_INPUT_SIGNAL_EVENT *SignalEventParam; /* 8-bytes aligned of the buffer above */
HANDLE synICMessagePage[MAX_NUM_CPUS]; void *synICMessagePage[MAX_NUM_CPUS];
HANDLE synICEventPage[MAX_NUM_CPUS]; void *synICEventPage[MAX_NUM_CPUS];
} HV_CONTEXT; } HV_CONTEXT;
extern HV_CONTEXT gHvContext; extern HV_CONTEXT gHvContext;
......
...@@ -46,7 +46,6 @@ typedef struct _DLIST_ENTRY { ...@@ -46,7 +46,6 @@ typedef struct _DLIST_ENTRY {
/* Other types */ /* Other types */
/* typedef unsigned char GUID[16]; */ /* typedef unsigned char GUID[16]; */
typedef void* HANDLE;
typedef void (*PFN_WORKITEM_CALLBACK)(void* context); typedef void (*PFN_WORKITEM_CALLBACK)(void* context);
typedef void (*PFN_TIMER_CALLBACK)(void* context); typedef void (*PFN_TIMER_CALLBACK)(void* context);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment