[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] common: asm/desc.h is an x86-only header


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 8 Aug 2023 11:42:55 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=k294eyeSeuiB2Xr7E798WNtAaFEAoAWoNZteqPxNH5c=; b=Vp4LkRnSI2ZLLZllY6dNSiwLiDvkyRzSx94bPnW6i68QN8dVFOgtnrgWBdT71pBtE0ZAolU589qem5sdYiqlG45cIs6CFZG7NaISsIkEl5wP9RaYy0bq5NKBKBG92jAIGRWH85otpeCCs0v/fE9x4jWmxHYLAz7bisuEmTIr9gWIJbnBCcFsTK9cBSsdtD2PCPTGosFAxtf1bMH+n3BH5maRCB9MZoftFS4y2QloHiddty48qFHOJ8gH0H4/mXatxQr1FCETIbA+lmdKPzwubZb4JafNP//Z6qQqS3VxlgQTHKMY7i4dOYZWxADgY0lhgjmhHXukNauRwQVuzURoUg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VPXeyOsLZliMptjjZeeTGURCav9pRAq9yWEBq9BFhgmIJElUJc9BpqPbkJ/I2WWVC+QKHXQugHBHo0yWXLsVHnnJgW7YFuT+73cXKnGX8umeLz8xp1N7RElM2zhIf/33x9mgcq/93Ig/pZr6jKqpJlFouqbO/g0i0qrgUMfj11kOiuomnEQbdG98OcKAui/SXbSHrHQfQa7uZDT5N7aCy4NRdflGbEkkMvLy/grB7wm+0wLLqbW0SadWq3xIgTjHAcLoLNJPGmor9rnoxyVh5ucnsewDIVR1XUD6ecrXnFBJfVJCOnZyrcZh48yTxb3SbCHnVcPQIgnA+bHXqzTIJw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <volodymyr_babchuk@xxxxxxxx>, Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 08 Aug 2023 09:43:16 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

>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 to also gain one.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- 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:
- */
--- a/xen/common/timer.c
+++ b/xen/common/timer.c
@@ -22,7 +22,6 @@
 #include <xen/rcupdate.h>
 #include <xen/symbols.h>
 #include <asm/system.h>
-#include <asm/desc.h>
 #include <asm/atomic.h>
 
 /* We program the time hardware this far behind the closest deadline. */



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.