net: mvpp2: use cache_line_size() to get cacheline size
authorJisheng Zhang <jszhang@marvell.com>
Fri, 1 Apr 2016 09:11:05 +0000 (17:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Apr 2016 18:36:47 +0000 (14:36 -0400)
commit4a0a12d27ca5e892579f3c61c18c8dcfebf425d4
tree93fbf0b39a009bf0f2097edeb126e8fd613caf84
parentd82b0c21d44d1cc61a23db56c2b2cf52ea9f3220
net: mvpp2: use cache_line_size() to get cacheline size

L1_CACHE_BYTES may not be the real cacheline size, use cache_line_size
to determine the cacheline size in runtime.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Suggested-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c