]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit10013f4a2c6870b82dcb90eead157314156fd8dd
tree509f68e415496841c69876aeae294ed7e3b8265a
parent1b23fe6018e7f9c3ce05abc92a8190c051259342
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