|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] xen: Add missing forward declaration to btcpupools_get_domain_pool_id
commit 1cadd2a011cb24f6d5da1c92f48eb8a8ee05e41f
Author: Alejandro Vallejo <agarciav@xxxxxxx>
AuthorDate: Mon Jun 2 12:46:19 2025 +0200
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Jun 2 12:46:19 2025 +0200
xen: Add missing forward declaration to btcpupools_get_domain_pool_id
And remove the ifdef guard, as it's inconsequential.
Signed-off-by: Alejandro Vallejo <agarciav@xxxxxxx>
Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
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..b17aada5f5 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__ */
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |