diff options
| author | Gregory CLEMENT <[email protected]> | 2016-02-04 21:09:25 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-02-13 11:02:18 +0000 |
| commit | 6b125d63b7f6c30d36dad3d999bbb5d44f359ebd (patch) | |
| tree | 4bcfa9efd1a7bbceca908126d16f33a81b71fe4f /net/unix/af_unix.c | |
| parent | net: mvneta: Fix the CPU choice in mvneta_percpu_elect (diff) | |
| download | kernel-6b125d63b7f6c30d36dad3d999bbb5d44f359ebd.tar.gz kernel-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 <[email protected]>
Signed-off-by: Gregory CLEMENT <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
