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

[PATCH 04/19] xen: Add missing forward declaration to btcpupools_get_domain_pool_id


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Alejandro Vallejo <agarciav@xxxxxxx>
  • Date: Fri, 30 May 2025 14:02:12 +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=vXe5G9Iqi22LTrUnfwfBy2xZ8mkimgLDxsX5KClv5aA=; b=sMeTs7B++1zOODlgyRPXuiY4Ic6+NnmMJYJWsYcRG1R2RhJu7YmAqcskRhXjbDLc9hcTTNY70Ge3NUUeM1i5ibbaj8lPNU48CT2wZ3U8/sKu+mBmEPRWPJHRuLQVYLU+ubVvKkook7sSs806xGaf29nIkTKuf+PFXjA8M5YoKeuhwDK17oDhGDP+2gqcmr+H5iAO2BHwXVMshtnp9tIkntsaVDyesVeKfDUgxxdbU/GKeCsWwucyzw2z8TL6/tG7J7/kpu8AXH5ekZDMhqpbgOuh3t8xzWkkixUcuWrlNgNWEi/5IyXYERGybyFk6tmvzfwR9IbP9/KI5sReI9UARg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=vgNdOYn6LZppeW60AoHaZawC9zMx/TBsYCkwDmCWFIwHfNgNTSk0qkHDC2TRrIY6MqF9hUvp21lGjr8C45/pP1OfPNZ2McUQ+7syqFgZvRqSbb/CtJ4ihjvTqX5EA+2+iWhDAx2JHhYWNZ++i+ZenI/YbnUwnMCQB6JaeYHaUvSRUH528EXsJV4ZEbpxm3ooezBlvXUzLf5aGzm/Z5CcXa6wpFFhDhYm4cnkhSz0Bmb2oM+WSPUJX7Vj5cT9CIrrJQ/kkAYN6qgN0Df0PjiwZ8VFyM20XOjXDRQ4aQTNEadQVcTLKjfbf4Y1pB9n9U3H4SFqoa/XthtVnIxuVHp1mQ==
  • Cc: Alejandro Vallejo <agarciav@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, "Julien Grall" <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 30 May 2025 12:03:26 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

And remove the ifdef guard, as it's inconsequential.

Signed-off-by: Alejandro Vallejo <agarciav@xxxxxxx>
---
 xen/include/xen/sched.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h
index 559d201e0c..b5a6a22c7f 100644
--- a/xen/include/xen/sched.h
+++ b/xen/include/xen/sched.h
@@ -1291,15 +1291,15 @@ static inline unsigned int 
btcpupools_get_cpupool_id(unsigned int cpu)
 {
     return 0;
 }
-#ifdef CONFIG_HAS_DEVICE_TREE
+
+struct dt_device_node;
+
 static inline int
 btcpupools_get_domain_pool_id(const struct dt_device_node *node)
 {
     return 0;
 }
-#endif
-
-#endif
+#endif /* !CONFIG_BOOT_TIME_CPUPOOLS */
 
 #endif /* __SCHED_H__ */
 
-- 
2.43.0




 


Rackspace

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