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@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Alejandro Vallejo authored and Jan Beulich committed 2025-06-02 12:46:19 +02:00
1 parent 546281a115
commit 1cadd2a011
1 file changed
+4 -4
+4 -4
View File
@@ -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__ */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.