diff options
author | Rusty Russell <[email protected]> | 2008-12-30 09:05:19 +1030 |
---|---|---|
committer | Rusty Russell <[email protected]> | 2008-12-30 09:05:19 +1030 |
commit | e12f0102ac81d660c9f801d0a0e10ccf4537a9de (patch) | |
tree | 00463d0a0e3978d21a1c29331b58f101a2b50adf /arch/sparc/kernel/pci_msi.c | |
parent | cbe31f02f5b5536f17dd978118e25052af528071 (diff) |
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 <[email protected]>
Signed-off-by: Mike Travis <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'arch/sparc/kernel/pci_msi.c')
0 files changed, 0 insertions, 0 deletions