ARM: EXYNOS: add generic function to calculate cpu number
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 <740bb265fb814b2df0ab18b75b97f518ea7e7772@linaro.org>
Reviewed-by: Tomasz Figa <c4885e520559c7b5b4fe1e9e188b924d2debd35e@samsung.com>
Signed-off-by: Kukjin Kim <3fc711f4e08bc570a586748633ff7c76d0e1e253@samsung.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs