net: mvpp2: add comments about smp_processor_id() usage
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 22 Jun 2017 12:23:18 +0000 (14:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jun 2017 17:42:56 +0000 (13:42 -0400)
commite0af22d9fd16d1cc2910a68d204e1767be2f8f14
tree509f68e415496841c69876aeae294ed7e3b8265a
parent0c461e050c618149ada385dca664fcd3f73055a7
net: mvpp2: add comments about smp_processor_id() usage

A previous commit modified a number of smp_processor_id() used in
migration-enabled contexts into get_cpu/put_cpu sections. However, a few
smp_processor_id() calls remain in the driver, and this commit adds
comments explaining why they can be kept.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c