diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-04-28 23:53:04 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-06-08 18:25:38 +0300 |
commit | 07f6e64bf2ab98cad0d9c595659209858e7bff83 (patch) | |
tree | 96657582f82b2de9c2367754892713e06c445155 /mm/shmem.c | |
parent | ea9b0c8a26a2cadfe49382d679eee88d3c4de79c (diff) | |
download | linux-07f6e64bf2ab98cad0d9c595659209858e7bff83.tar.xz |
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>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions