-
由 zijun_hu 提交于
get_cpu_number() doesn't use existing helper to iterate over possible CPUs, It will cause an error in case of discontinuous @cpu_possible_mask such as 0b11110001, which can result from a core having failed to come up on a SMP machine. Fixed by using existing helper for_each_possible_cpu(). Signed-off-by: Nzijun_hu <zijun_hu@htc.com> Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
3fad4cda