srcu: Define SRCU_READ_FLAVOR_ALL in terms of symbols
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 11 Dec 2024 20:39:58 +0000 (12:39 -0800)
committerBoqun Feng <boqun.feng@gmail.com>
Wed, 5 Feb 2025 15:12:05 +0000 (07:12 -0800)
commitb459874faa7b6096982552498cab735075e53013
tree544d02eabbf2bcf404ff62daf91d7d796d75087f
parentda2ac5623716cc3f32eeeafef9b7c08c73c2b20a
srcu: Define SRCU_READ_FLAVOR_ALL in terms of symbols

This commit defines SRCU_READ_FLAVOR_ALL in terms of the
SRCU_READ_FLAVOR_* definitions instead of a hexadecimal constant.

Suggested-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Andrii Nakryiko <andrii@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Cc: <bpf@vger.kernel.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
include/linux/srcu.h