[PATCH 277/641] Staging: hv: remove include/HvHalApi.h

Greg Kroah-Hartman gregkh at suse.de
Tue Sep 15 19:08:28 UTC 2009


It isn't needed at all, was only being used for one typedef,
which is now removed.

Cc: Hank Janssen <hjanssen at microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
---
 drivers/staging/hv/Hv.h                 |    1 -
 drivers/staging/hv/include/HvHalApi.h   |   32 -------------------------------
 drivers/staging/hv/include/HvSynicApi.h |    4 +-
 3 files changed, 2 insertions(+), 35 deletions(-)
 delete mode 100644 drivers/staging/hv/include/HvHalApi.h

diff --git a/drivers/staging/hv/Hv.h b/drivers/staging/hv/Hv.h
index f9fcfed..bd5aced 100644
--- a/drivers/staging/hv/Hv.h
+++ b/drivers/staging/hv/Hv.h
@@ -26,7 +26,6 @@
 #define __HV_H__
 
 #include "include/HvStatus.h"
-#include "include/HvHalApi.h"
 #include "include/HvVpApi.h"
 #include "include/HvSynicApi.h"
 #include "include/HvHcApi.h"
diff --git a/drivers/staging/hv/include/HvHalApi.h b/drivers/staging/hv/include/HvHalApi.h
deleted file mode 100644
index cda369e..0000000
--- a/drivers/staging/hv/include/HvHalApi.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- *
- * Copyright (c) 2009, Microsoft Corporation.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
- * Place - Suite 330, Boston, MA 02111-1307 USA.
- *
- * Authors:
- *   Haiyang Zhang <haiyangz at microsoft.com>
- *   Hank Janssen  <hjanssen at microsoft.com>
- *
- */
-
-
-#pragma once
-
-
-
-/* Time in the hypervisor is measured in 100 nanosecond units */
-
-typedef u64 HV_NANO100_TIME,     *PHV_NANO100_TIME;
-typedef u64 HV_NANO100_DURATION, *PHV_NANO100_DURATION;
diff --git a/drivers/staging/hv/include/HvSynicApi.h b/drivers/staging/hv/include/HvSynicApi.h
index 99eeed4..03b4d29 100644
--- a/drivers/staging/hv/include/HvSynicApi.h
+++ b/drivers/staging/hv/include/HvSynicApi.h
@@ -298,8 +298,8 @@ typedef struct _HV_TIMER_MESSAGE_PAYLOAD
 {
     u32          TimerIndex;
     u32          Reserved;
-    HV_NANO100_TIME ExpirationTime;     /* When the timer expired */
-    HV_NANO100_TIME DeliveryTime;       /* When the message was delivered */
+    u64 ExpirationTime;     /* When the timer expired */
+    u64 DeliveryTime;       /* When the message was delivered */
 } HV_TIMER_MESSAGE_PAYLOAD, *PHV_TIMER_MESSAGE_PAYLOAD;
 
 
-- 
1.6.4.2




More information about the devel mailing list