]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: map the CPUs to threads
authorAntoine Tenart <antoine.tenart@bootlin.com>
Wed, 19 Sep 2018 09:27:09 +0000 (11:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Sep 2018 04:09:54 +0000 (21:09 -0700)
commit6fe80b06e39952e7b637106dfa3ad1795fa9f603
treeb7787c3559a58a14d87448e29e8fa65c1cbc1420
parentcd97e223a1880d91d0c2f6dfc6ae6dbfe1f40872
net: mvpp2: map the CPUs to threads

This patch maps all uses of the CPU to threads. All this_cpu calls are
replaced, and all smp_processor_id() calls are wrapped into the
indirection.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2.h
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c