diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-01-11 00:58:08 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-11 13:12:49 -0500 |
commit | fbd59a8d1f7cf325fdb6828659f1fb76631e87b3 (patch) | |
tree | ccb7bbf70ef6e2e08e8ae83964b09fbdcf74808a /drivers/net/sfc | |
parent | 7f7ace0cda64c99599c23785f8979a072e118058 (diff) |
cpumask: Use topology_core_cpumask()/topology_thread_cpumask()
Impact: reduce stack usage, use new cpumask API.
This actually uses topology_core_cpumask() and
topology_thread_cpumask(), removing the only users of
topology_core_siblings() and topology_thread_siblings()
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
Cc: linux-net-drivers@solarflare.com
Diffstat (limited to 'drivers/net/sfc')
-rw-r--r-- | drivers/net/sfc/efx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c index 7673fd92eaf5..f2e56ceee0ea 100644 --- a/drivers/net/sfc/efx.c +++ b/drivers/net/sfc/efx.c | |||
@@ -863,8 +863,8 @@ static int efx_wanted_rx_queues(void) | |||
863 | for_each_online_cpu(cpu) { | 863 | for_each_online_cpu(cpu) { |
864 | if (!cpu_isset(cpu, core_mask)) { | 864 | if (!cpu_isset(cpu, core_mask)) { |
865 | ++count; | 865 | ++count; |
866 | cpus_or(core_mask, core_mask, | 866 | cpumask_or(&core_mask, &core_mask, |
867 | topology_core_siblings(cpu)); | 867 | topology_core_cpumask(cpu)); |
868 | } | 868 | } |
869 | } | 869 | } |
870 | 870 | ||