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

[PATCH v3 01/14] arm/gnttab: Remove xen/grant_table.h cyclic include


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Alejandro Vallejo <agarciav@xxxxxxx>
  • Date: Fri, 13 Jun 2025 17:13:10 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=J5OnCJJNwcHtcsp/MXejjMQBlQ9XSoV2j6h/sCF/MRg=; b=AlbIV8o9R4sJc2jSLlfR/iN5G34YQoPclSiul2G7KMFFyVYYZYKaeLbzULJIcMdMCJrn2waka5g4urTBQzR7BwjSJQhSwuH/vkjQ/ikXiEQYO3Ct7KVIReHPHyJh3zij4ZuJmng6SQwa4/WXA3llan3rw5MT6R4PO15Og6Du+ZXBMRceF2m/IOSmEY/7J0ZRGpN5J+HHESSk+uvzicJLXdflyiTXT9xKV/EQNLQGJX9r9x8VKierPN/7G2BDhFs8pJP1NxeZ0gO4Q6lt6A/KwMwYyuy+HZqikOC46Nw1nVwct5IzFTiv2rzsOMaZ22H/wTe5Ho7OtHTLR0s9XeG8cw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tR0Lv8cfYYhQPMwywuQ1v9Ug90Whgk520nAaWu+rMZgLUTjkpmDD2ARH9Hgz0kR6DOpIxAcLU44ylDb/K+NMqAq4nDlR20MfPlc5kYDuQYBrwe1dmP86a6GueynivJ8RnMmh1AvgfL1kaDsOK6vVDFik76C4SgEXsTSeCaRGo12WtWyPk6swVzyZMKYCtxHe54XGLnRiF7JZUAg4O+qRbgHR2QoVODIpRx/wZtq+ePdXWArvLcgcUN1pFJ/ib2a417A411Yw+BfoKwDszpgQYwmffApIpzOG/kchP9KfivPMT86J36JYxqzMLLMI/FPX0khfN497lH/Th2rjqz8GgQ==
  • Cc: Alejandro Vallejo <agarciav@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, "Volodymyr Babchuk" <Volodymyr_Babchuk@xxxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 13 Jun 2025 15:16:40 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

The way they currently include each other, with one of the includes
being conditional on CONFIG_GRANT_TABLE, makes it hard to know which
contents are included when.

Break the cycle by removing the asm/grant_table.h include.

Not a functional change because.

Signed-off-by: Alejandro Vallejo <agarciav@xxxxxxx>
---
v3:
  * Strictly remove the cycle in asm/grant_table.h
    (Keeping the conditional include is a terrible idea, IMO)
---
 xen/arch/arm/include/asm/grant_table.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/xen/arch/arm/include/asm/grant_table.h 
b/xen/arch/arm/include/asm/grant_table.h
index c5d87b60c4..c47058a3a0 100644
--- a/xen/arch/arm/include/asm/grant_table.h
+++ b/xen/arch/arm/include/asm/grant_table.h
@@ -1,7 +1,6 @@
 #ifndef __ASM_GRANT_TABLE_H__
 #define __ASM_GRANT_TABLE_H__
 
-#include <xen/grant_table.h>
 #include <xen/kernel.h>
 #include <xen/pfn.h>
 #include <xen/sched.h>
-- 
2.43.0




 


Rackspace

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