diff options
author | 2024-09-02 19:06:54 +0800 | |
---|---|---|
committer | 2024-11-12 21:41:04 +0100 | |
commit | 5d2501f42cf8caad1abb44a37f20195a52e1cf07 (patch) | |
tree | 745c2a2e64aabcb34f469bce41e6e33c67383f1a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rcu: Use bitwise instead of arithmetic operator for flags (diff) | |
download | wireguard-linux-5d2501f42cf8caad1abb44a37f20195a52e1cf07.tar.xz wireguard-linux-5d2501f42cf8caad1abb44a37f20195a52e1cf07.zip |
rcu: Use the BITS_PER_LONG macro
sizeof(unsigned long) * 8 is the number of bits in an unsigned long
variable, replace it with BITS_PER_LONG macro to make it simpler.
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: "Paul E. McKenney" <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions