diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2016-02-04 22:09:25 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-13 06:02:18 -0500 |
commit | 6b125d63b7f6c30d36dad3d999bbb5d44f359ebd (patch) | |
tree | 4bcfa9efd1a7bbceca908126d16f33a81b71fe4f /net/unix/af_unix.c | |
parent | cad5d847a093077b499a8b0bbfe6804b9226c03e (diff) | |
download | linux-6b125d63b7f6c30d36dad3d999bbb5d44f359ebd.tar.gz linux-6b125d63b7f6c30d36dad3d999bbb5d44f359ebd.tar.bz2 linux-6b125d63b7f6c30d36dad3d999bbb5d44f359ebd.zip |
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions