From: Greg Kroah-Hartman Date: Wed, 19 Aug 2009 23:20:41 +0000 (-0700) Subject: Staging: hv: remove include/HvHalApi.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=910d7b31f598a1ce7a0325889537aa993ed1ce1c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Staging: hv: remove include/HvHalApi.h It isn't needed at all, was only being used for one typedef, which is now removed. Cc: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/Hv.h b/drivers/staging/hv/Hv.h index f9fcfed8df5c..bd5aced2bc61 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 cda369e8398f..000000000000 --- 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 - * Hank Janssen - * - */ - - -#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 99eeed4716b5..03b4d290eb46 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;