summaryrefslogtreecommitdiffstats
path: root/kernel/irq/manage.c
diff options
context:
space:
mode:
authorRusty Russell2008-12-29 23:35:19 +0100
committerRusty Russell2008-12-29 23:35:19 +0100
commite12f0102ac81d660c9f801d0a0e10ccf4537a9de (patch)
tree00463d0a0e3978d21a1c29331b58f101a2b50adf /kernel/irq/manage.c
parentcpumask: use new cpumask API in drivers/infiniband/hw/ipath (diff)
downloadkernel-qcow2-linux-e12f0102ac81d660c9f801d0a0e10ccf4537a9de.tar.gz
kernel-qcow2-linux-e12f0102ac81d660c9f801d0a0e10ccf4537a9de.tar.xz
kernel-qcow2-linux-e12f0102ac81d660c9f801d0a0e10ccf4537a9de.zip
cpumask: Use nr_cpu_ids in seq_cpumask
Impact: cleanup, futureproof nr_cpu_ids is the (badly named) runtime limit on possible CPU numbers; ie. the variable version of NR_CPUS. With the new cpumask operators, only bits less than this are defined. So we should use it everywhere, rather than NR_CPUS. Eventually this will make it possible to allocate cpumasks of the minimal length at runtime. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Mike Travis <travis@sgi.com> Acked-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/irq/manage.c')
0 files changed, 0 insertions, 0 deletions