commit | fa99b222b0b4e95024c79a13f35de5fc7a62c5e7 | [log] [tgz] |
---|---|---|
author | Varun Wadekar <vwadekar@nvidia.com> | Wed Aug 23 16:02:06 2017 -0700 |
committer | Varun Wadekar <vwadekar@nvidia.com> | Fri Jan 18 09:21:51 2019 -0800 |
tree | 4d015a0da7f53325a0bc76870131a08a8607ed60 | |
parent | b735541792714c7856fab303335fc31784875d13 [diff] |
Tegra: use 'PLATFORM_MAX_CPUS_PER_CLUSTER' to calculate core position This patch updates the plat_my_core_pos() and platform_get_core_pos() helper functions to use the `PLATFORM_MAX_CPUS_PER_CLUSTER` macro to calculate the core position. core_pos = CoreId + (ClusterId * PLATFORM_MAX_CPUS_PER_CLUSTER) Change-Id: Ic49f2fc7ded23bf9484c8fe104025df8884b9faf Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>