Staging: hv: remove SIZE_T typedef

The SIZE_T typedef is 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>
This commit is contained in:
Greg Kroah-Hartman 2009-07-14 15:14:20 -07:00
parent 3abcbc45cb
commit 45635d9703
6 changed files with 6 additions and 7 deletions

View File

@ -386,7 +386,7 @@ VmbusOnEvents(
int
VmbusPostMessage(
void * buffer,
SIZE_T bufferLen
size_t bufferLen
)
{
int ret=0;

View File

@ -397,7 +397,7 @@ HvPostMessage(
HV_CONNECTION_ID connectionId,
HV_MESSAGE_TYPE messageType,
void * payload,
SIZE_T payloadSize
size_t payloadSize
)
{
struct alignedInput {

View File

@ -163,7 +163,7 @@ HvPostMessage(
HV_CONNECTION_ID connectionId,
HV_MESSAGE_TYPE messageType,
void * payload,
SIZE_T payloadSize
size_t payloadSize
);
static HV_STATUS

View File

@ -149,7 +149,7 @@ VmbusDisconnect(
static int
VmbusPostMessage(
void * buffer,
SIZE_T bufSize
size_t bufSize
);
static int

View File

@ -97,7 +97,6 @@ typedef struct _DLIST_ENTRY {
//
// Other types
//
typedef unsigned long SIZE_T;
//typedef unsigned char GUID[16];
typedef unsigned char BOOL;
typedef unsigned char BOOLEAN;
@ -188,7 +187,7 @@ extern HANDLE TimerCreate(PFN_TIMER_CALLBACK pfnTimerCB, void* context);
extern void TimerClose(HANDLE hTimer);
extern int TimerStop(HANDLE hTimer);
extern void TimerStart(HANDLE hTimer, u32 expirationInUs);
extern SIZE_T GetTickCount(void);
extern size_t GetTickCount(void);
extern HANDLE WaitEventCreate(void);
extern void WaitEventClose(HANDLE hWait);

View File

@ -312,7 +312,7 @@ void TimerClose(HANDLE hTimer)
kfree(t);
}
SIZE_T GetTickCount(void)
size_t GetTickCount(void)
{
return jiffies;
}