commit | 6ec4f8d0d91f2067870ce948fcd505620d0d2987 | [log] [tgz] |
---|---|---|
author | Chander Kashyap <chander.kashyap@linaro.org> | Sat Jul 05 06:24:35 2014 +0900 |
committer | Kukjin Kim <kgene.kim@samsung.com> | Sat Jul 19 03:35:55 2014 +0900 |
tree | 31291b11c2b9f6034c58af4e126ca79b6f1ac2ee | |
parent | e2e54362d9c8c1e8d52ff576a4e0f6e61f569356 [diff] |
ARM: EXYNOS: add generic function to calculate cpu number The address of cpu power registers in pmu is based on cpu number offsets. This function calculate the same. This is essentially required in case of multi-cluster SoC's e.g Exynos5420. Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>