]> 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)
commit701a660f7f10868a07f29071c8cbd5ea41155d06
tree509f68e415496841c69876aeae294ed7e3b8265a
parentaa9c8c178c12d80440ec8ee1c794660867f7978e
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