And remove the ifdef guard, as it's inconsequential.
Signed-off-by: Alejandro Vallejo <[email protected]>
---
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