mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
We currently use num_possible_cpus(), but that breaks on sparc64 where the CPU ID space is discontig. Use nr_cpu_ids as the highest CPU ID instead, so we don't end up reading from invalid memory. Cc: stable@kernel.org # 3.13+ Signed-off-by: Jens Axboe <axboe@fb.com>
2.5 KiB
2.5 KiB