commit | 6b125d63b7f6c30d36dad3d999bbb5d44f359ebd | [log] [tgz] |
---|---|---|
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | Thu Feb 04 22:09:25 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sat Feb 13 06:02:18 2016 -0500 |
tree | 4bcfa9efd1a7bbceca908126d16f33a81b71fe4f | |
parent | cad5d847a093077b499a8b0bbfe6804b9226c03e [diff] |
net: mvneta: Use on_each_cpu when possible Instead of using a for_each_* loop in which we just call the smp_call_function_single macro, it is more simple to directly use the on_each_cpu macro. Moreover, this macro ensures that the calls will be done all at once. Suggested-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>