diff options
author | Oleg Nesterov <oleg@redhat.com> | 2023-10-30 16:57:10 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-11 02:21:25 +0100 |
commit | 61a7a5e25fe79b6c43f1c49705a0294be113c4a5 (patch) | |
tree | 247d5acb3d1621879885943b83802dfc064687a9 /crypto/sha512_generic.c | |
parent | kernel/reboot: explicitly notify if halt occurred instead of power off (diff) | |
download | linux-61a7a5e25fe79b6c43f1c49705a0294be113c4a5.tar.xz linux-61a7a5e25fe79b6c43f1c49705a0294be113c4a5.zip |
introduce for_other_threads(p, t)
Cosmetic, but imho it makes the usage look more clear and simple, the new
helper doesn't require to initialize "t".
After this change while_each_thread() has only 3 users, and it is only
used in the do/while loops.
Link: https://lkml.kernel.org/r/20231030155710.GA9095@redhat.com
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'crypto/sha512_generic.c')
0 files changed, 0 insertions, 0 deletions