]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: do not use the CPU number to access the per-thread registers
authorAntoine Tenart <antoine.tenart@bootlin.com>
Wed, 19 Sep 2018 09:27:08 +0000 (11:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Sep 2018 04:09:54 +0000 (21:09 -0700)
commitcd97e223a1880d91d0c2f6dfc6ae6dbfe1f40872
tree541fb0a32dbc9db6a15a8711ee596428eca3e584
parentbdfe7f6f9d8d22885835f04ac7be35b3e0021ad6
net: mvpp2: do not use the CPU number to access the per-thread registers

This patch reworks the Marvell PPv2 driver to stop using directly the
CPU number to access per-thread registers.

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