diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-09-19 16:20:45 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-09-19 16:20:45 +0200 |
commit | 7758071e94d08f613bb3072e2e94c54e8010c5e3 (patch) | |
tree | 1bade2a9fb7942080462a284410459626b293358 /src/queueing.h | |
parent | queueing: clean up worthless helper (diff) | |
download | wireguard-monolithic-historical-7758071e94d08f613bb3072e2e94c54e8010c5e3.tar.xz wireguard-monolithic-historical-7758071e94d08f613bb3072e2e94c54e8010c5e3.zip |
queueing: rename cpumask function
Diffstat (limited to 'src/queueing.h')
-rw-r--r-- | src/queueing.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queueing.h b/src/queueing.h index 385ca16..a07e965 100644 --- a/src/queueing.h +++ b/src/queueing.h @@ -100,7 +100,7 @@ static inline void skb_reset(struct sk_buff *skb) skb_reset_inner_headers(skb); } -static inline int choose_cpu(int *stored_cpu, unsigned int id) +static inline int cpumask_choose_online(int *stored_cpu, unsigned int id) { unsigned int cpu = *stored_cpu, cpu_index, i; if (unlikely(cpu == nr_cpumask_bits || !cpumask_test_cpu(cpu, cpu_online_mask))) { |