cpumask: convert drivers/net/sfc
authorRusty Russell <rusty@rustcorp.com.au>
Sun, 11 Jan 2009 05:58:09 +0000 (21:58 -0800)
committerIngo Molnar <mingo@elte.hu>
Sun, 11 Jan 2009 18:12:56 +0000 (19:12 +0100)
commit2f8975fbcf07103afab0bbaea5f5b1a9967ffb86
tree4f8931e89e5a5fae2b778ca0e879e2f66ba07935
parentf7df8ed164996cd2c6aca9674388be6ef78d8b37
cpumask: convert drivers/net/sfc

Impact: reduce stack usage, use new cpumask API.

Remove a cpumask from the stack.  Ben Hutchings indicated that printing
a warning and returning 1 was acceptable for the corner case where allocation
fails.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
Cc: Ben Hutchings <bhutchings@solarflare.com>
Cc: linux-net-drivers@solarflare.com
drivers/net/sfc/efx.c