mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
1 parent
546281a115
commit
1cadd2a011
1 file changed
+4
-4
@@ -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__ */
|
||||
|
||||
|
||||