cacheinfo: Move cache_leaves_are_shared out of CONFIG_OF
cache_leaves_are_shared is already used even with ACPI and PPTT. It checks if the cache leaves are the shared based on fw_token pointer. However it is defined conditionally only if CONFIG_OF is enabled which is wrong. Move the function cache_leaves_are_shared out of CONFIG_OF and keep it generic. It also handles the case where both OF and ACPI is not defined. Tested-by:Ionela Voinescu <ionela.voinescu@arm.com> Reviewed-by:
Gavin Shan <gshan@redhat.com> Signed-off-by:
Sudeep Holla <sudeep.holla@arm.com>
Loading
Please register or sign in to comment