vport: Use DEFINE_PER_CPU instead of dynamically allocating loop counter.
authorJesse Gross <jesse@nicira.com>
Thu, 15 Jul 2010 02:59:41 +0000 (19:59 -0700)
committerJesse Gross <jesse@nicira.com>
Thu, 15 Jul 2010 22:09:08 +0000 (15:09 -0700)
commitf9764f6e911ab3b034b3f390f8303ce1396a4dd8
tree140db26a862883ad94d6e2d13009140be182a23a
parentfceb2a5bb2063023777fc75c68a2670b5169fa13
vport: Use DEFINE_PER_CPU instead of dynamically allocating loop counter.

DEFINE_PER_CPU is simpler and faster than alloc_percpu() so use it
for the loop counter, which is already statically defined.
datapath/vport.c