Skip to content

Commit

Permalink
Staging: hv: remove typedef that was just added.
Browse files Browse the repository at this point in the history
It's a u64, so use a u64, it's not some special typedef.

Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed May 11, 2010
1 parent 39c4e9c commit 733371d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/hv/hyperv_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ static void shutdown_onchannelcallback(void *context)
/*
* Synchronize time with host after reboot, restore, etc.
*/
static void adj_guesttime(winfiletime_t hosttime, u8 flags)
static void adj_guesttime(u64 hosttime, u8 flags)
{
s64 host_tns;
struct timespec host_ts;
Expand Down
8 changes: 3 additions & 5 deletions drivers/staging/hv/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,10 @@ struct shutdown_msg_data {
#define WLTIMEDELTA 116444736000000000LL
#endif

typedef u64 winfiletime_t; /* Windows FILETIME type */

struct ictimesync_data{
winfiletime_t parenttime;
winfiletime_t childtime;
winfiletime_t roundtriptime;
u64 parenttime;
u64 childtime;
u64 roundtriptime;
u8 flags;
} __attribute__((packed));

Expand Down

0 comments on commit 733371d

Please sign in to comment.