]> 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)
commit8de338a09b7f9472206fdf9610f0e3a3d59bc060
tree541fb0a32dbc9db6a15a8711ee596428eca3e584
parentec1d458eefca5d7ba9270fe5b7085edf0711d887
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