]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
srcu: Make SRCU be once again optional
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 28 Apr 2017 20:53:04 +0000 (13:53 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 8 Jun 2017 15:25:38 +0000 (08:25 -0700)
commit07f6e64bf2ab98cad0d9c595659209858e7bff83
tree96657582f82b2de9c2367754892713e06c445155
parentea9b0c8a26a2cadfe49382d679eee88d3c4de79c
srcu: Make SRCU be once again optional

Commit d160a727c40e ("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 <paulmck@linux.vnet.ibm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
include/linux/srcu.h
init/Kconfig