]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rcutorture: Use symbols for SRCU reader flavors
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 14 Nov 2024 19:11:18 +0000 (11:11 -0800)
committerUladzislau Rezki (Sony) <urezki@gmail.com>
Sat, 14 Dec 2024 16:06:08 +0000 (17:06 +0100)
commit0fef924e3918e72768357a220c84e6b4dd2b6180
tree86661e95a55518198ab1efcbc228dc66ee6716aa
parent223f16b87d70a62058d3b3f4aae0da570b4380a1
rcutorture: Use symbols for SRCU reader flavors

This commit converts rcutorture.c values for the reader_flavor module
parameter from hexadecimal to the SRCU_READ_FLAVOR_* C-preprocessor
macros.  The actual modprobe or kernel-boot-parameter values for
read_flavor must still be entered in hexadecimal.

Link: https://lore.kernel.org/all/c48c9dca-fe07-4833-acaa-28c827e5a79e@amd.com/
Suggested-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
include/linux/srcu.h
include/linux/srcutree.h
kernel/rcu/rcutorture.c