[Patch v7 2/6] arm: exynos: add generic function to calculate cpu number

2014-06-16 Thread Chander Kashyap
From: Chander Kashyap 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 Signed-off-by: Chander Kashyap Reviewed-by: Tomasz Figa

[Patch v7 2/6] arm: exynos: add generic function to calculate cpu number

2014-06-16 Thread Chander Kashyap
From: Chander Kashyap chander.kash...@linaro.org 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.kash...@linaro.org