]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cpumask: use for_each_online_cpu() in drivers/infiniband/hw/ehca/ehca_irq.c
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 29 Dec 2008 22:35:17 +0000 (09:05 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 29 Dec 2008 22:35:17 +0000 (09:05 +1030)
commit259c4ddd00237e5072921afa15a900839643fd98
tree1b97200c6590347e5e094f73774ce8fbf3d223fa
parentce47d974f71af26d00832e83a43ac79bec272d99
cpumask: use for_each_online_cpu() in drivers/infiniband/hw/ehca/ehca_irq.c

Impact: cleanup

In future, accessing cpu numbers beyond nr_cpu_ids (the runtime limit)
will be undefined.  We can avoid future problems by using
for_each_online_cpu() here.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
Tested-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
Cc: Christoph Raisch <raisch@de.ibm.com>
drivers/infiniband/hw/ehca/ehca_irq.c