From e48acb2afe415fa9b4bcfbca97163556f37794fc Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 9 Aug 2023 15:57:28 +0200 Subject: [PATCH] common: asm/desc.h is an x86-only header From briefly going over 9062553a0dc1 it looks like the #include in what was ac_timer.c was added there for no reason. It's unneeded now in any event, and it is the sole reason for Arm to have that dummy header. Purge that, thus avoiding PPC (and later RISC-V) to also gain one. Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper Acked-by: Julien Grall --- xen/arch/arm/include/asm/desc.h | 12 ------------ xen/common/timer.c | 1 - 2 files changed, 13 deletions(-) delete mode 100644 xen/arch/arm/include/asm/desc.h diff --git a/xen/arch/arm/include/asm/desc.h b/xen/arch/arm/include/asm/desc.h deleted file mode 100644 index a4d02d5eef..0000000000 --- a/xen/arch/arm/include/asm/desc.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef __ARCH_DESC_H -#define __ARCH_DESC_H - -#endif /* __ARCH_DESC_H */ -/* - * Local variables: - * mode: C - * c-file-style: "BSD" - * c-basic-offset: 4 - * indent-tabs-mode: nil - * End: - */ diff --git a/xen/common/timer.c b/xen/common/timer.c index 9b5016d5ed..a2a18b2fb2 100644 --- a/xen/common/timer.c +++ b/xen/common/timer.c @@ -22,7 +22,6 @@ #include #include #include -#include #include /* We program the time hardware this far behind the closest deadline. */