aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorzijun_hu <[email protected]>2017-09-15 17:59:41 +0000
committerMarc Zyngier <[email protected]>2017-09-19 18:42:14 +0000
commit3fad4cdac235c5b13227d0c09854c689ae62c70b (patch)
tree41574327d164d4c87884cab11f42a2a7b0b3d9b5 /fs/proc/array.c
parentLinux 4.14-rc1 (diff)
downloadkernel-3fad4cdac235c5b13227d0c09854c689ae62c70b.tar.gz
kernel-3fad4cdac235c5b13227d0c09854c689ae62c70b.zip
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 <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions