]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
net: remove NR_CPUS arrays in net/core/dev.c
authorMike Travis <travis@sgi.com>
Fri, 2 May 2008 23:43:08 +0000 (16:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2008 23:43:08 +0000 (16:43 -0700)
commit0c0b0aca66b3a58e12a216d992a0b534eff210e0
tree50fb0434425411b1b70f8ca2057ba8fd6a347315
parentd3e2ce3bcdbf4319dea308c79b5f72a8ecc8015c
net: remove NR_CPUS arrays in net/core/dev.c

Remove the fixed size channels[NR_CPUS] array in net/core/dev.c and
dynamically allocate array based on nr_cpu_ids.

Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c