From: Chander Kashyap Date: Fri, 4 Jul 2014 21:24:35 +0000 (+0900) Subject: ARM: EXYNOS: add generic function to calculate cpu number X-Git-Tag: omap-for-v3.17/fixes-against-rc2~122^2~19^2~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ec4f8d0d91f2067870ce948fcd505620d0d2987;p=pandora-kernel.git 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 Reviewed-by: Tomasz Figa Signed-off-by: Kukjin Kim --- Reading git-diff-tree failed