summaryrefslogtreecommitdiff
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorYury Norov [NVIDIA] <yury.norov@gmail.com>2025-09-10 03:36:41 +0200
committerJakub Kicinski <kuba@kernel.org>2025-09-11 18:52:20 -0700
commit5551d21284702a5f36791aecc7735870d0423996 (patch)
treea2bc94f160ba3382f3486e67597e7203bb919a59 /rust/helpers/platform.c
parent4094920b19f78f3af8c67731fb4ba27973b83468 (diff)
wireguard: queueing: simplify wg_cpumask_next_online()
wg_cpumask_choose_online() opencodes cpumask_nth(). Use it and make the function significantly simpler. While there, fix opencoded cpu_online() too. Signed-off-by: Yury Norov <yury.norov@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Link: https://patch.msgid.link/20250910013644.4153708-2-Jason@zx2c4.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions