Staging: hv: remove typedef that was just added.
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 6 May 2010 05:00:45 +0000 (22:00 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:15 +0000 (11:36 -0700)
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>
drivers/staging/hv/hyperv_utils.c
drivers/staging/hv/utils.h

index 9174f79a7d360976275c08fb6922d3099cd8ce18..d3fc33e9627275e102e1fd87f61d1d5284194cb8 100644 (file)
@@ -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;
index d1d2f282dd9be6a720a64ec9ef0f4b119ffa6176..ecbeab69a23f7fafbf556bf13759fb72d9ff4f42 100644 (file)
@@ -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));