Rusty Russell c8ed00107b Fix weird uses of num_online_cpus().
This may be OK in archs with contiguous CPU numbers and without
hotplug CPUs, but it sets a terrible example.

And open-coding it like drivers/scsi/hpsa.c is just weird.

BTRFS has a weird comparison with num_online_cpus() too, but since
BTRFS just screwed up my test machines' root partition, I'm not
touching it :)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reported-by: Oleg Drokin <green@linuxhacker.ru>
2015-03-10 13:54:42 +10:30
..
2015-02-18 10:02:24 -08:00
2015-02-27 10:59:34 +05:30
2015-02-18 10:02:24 -08:00
2015-02-15 18:02:02 -08:00
2015-03-10 13:54:38 +10:30
2015-03-10 13:54:42 +10:30
2015-02-17 14:23:42 -08:00
2015-02-18 10:02:24 -08:00
2015-03-10 13:54:42 +10:30
2015-02-18 10:02:24 -08:00
2015-03-10 13:54:42 +10:30
2015-02-18 10:02:24 -08:00