Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
srcu: Make SRCU be once again optional
Commit d160a72 ("srcu: Make SRCU be built by default") in response to build errors, which were caused by code that included srcu.h despite !SRCU. However, srcutiny.o is almost 2K of code, which is not insignificant for those attempting to run the Linux kernel on IoT devices. This commit therefore makes SRCU be once again optional, and adjusts srcu.h to allow error-free inclusion in !SRCU kernel builds. Signed-off-by: Paul E. McKenney <[email protected]> Acked-by: Nicolas Pitre <[email protected]>
- Loading branch information