srcu: Move SRCU Tree/Tiny definitions from srcu.h
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 13 Jan 2025 17:39:35 +0000 (09:39 -0800)
committerBoqun Feng <boqun.feng@gmail.com>
Wed, 5 Feb 2025 15:12:05 +0000 (07:12 -0800)
commit443971156cebfc54a5f5c37a5702c13a2bb06755
tree5ec427ab8a452f4936643b6ca897709d7d2d61eb
parent4937096b579a36cfa5764a229d1a89542e10cf5b
srcu: Move SRCU Tree/Tiny definitions from srcu.h

There are a couple of definitions under "#ifdef CONFIG_TINY_SRCU"
in include/linux/srcu.h.  There is no point in them being there,
so this commit moves them to include/linux/srcutiny.h and
include/linux/srcutree.c, thus eliminating that #ifdef.

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
include/linux/srcutiny.h
include/linux/srcutree.h