commit | 3fad4cdac235c5b13227d0c09854c689ae62c70b | [log] [tgz] |
---|---|---|
author | zijun_hu <zijun_hu@htc.com> | Sat Sep 16 01:59:41 2017 +0800 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Tue Sep 19 19:42:14 2017 +0100 |
tree | 41574327d164d4c87884cab11f42a2a7b0b3d9b5 | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e [diff] |
irqchip/gic-v3: Iterate over possible CPUs by for_each_possible_cpu() 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: zijun_hu <zijun_hu@htc.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>