]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
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)
commit543ec376e3cb98a5e0343b29c1d0f00546b68dc6
tree541fb0a32dbc9db6a15a8711ee596428eca3e584
parent1627442721f1b05b16fa33adeda214dc8659675c
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