summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-05-05 22:00:45 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-11 11:36:15 -0700
commit733371df3db375cb66280911162b9746b0436d68 (patch)
treed272ea98d71ddb34e73909df6a0f3ec718d76663
parent39c4e9c37894feb1525fac4bb75e8c919042473b (diff)
downloadop-kernel-dev-733371df3db375cb66280911162b9746b0436d68.zip
op-kernel-dev-733371df3db375cb66280911162b9746b0436d68.tar.gz
Staging: hv: remove typedef that was just added.
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>
-rw-r--r--drivers/staging/hv/hyperv_utils.c2
-rw-r--r--drivers/staging/hv/utils.h8
2 files changed, 4 insertions, 6 deletions
diff --git a/drivers/staging/hv/hyperv_utils.c b/drivers/staging/hv/hyperv_utils.c
index 9174f79..d3fc33e 100644
--- a/drivers/staging/hv/hyperv_utils.c
+++ b/drivers/staging/hv/hyperv_utils.c
@@ -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;
diff --git a/drivers/staging/hv/utils.h b/drivers/staging/hv/utils.h
index d1d2f28..ecbeab6 100644
--- a/drivers/staging/hv/utils.h
+++ b/drivers/staging/hv/utils.h
@@ -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));
OpenPOWER on IntegriCloud