commit | b627d0837c811b2714648cc873b8b092c72432cd | [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 | 70da35b0df656d4b76742dd864dd5b64bb7902af [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>