srcu: Fix Kconfig botch when SRCU not selected
[sfrench/cifs-2.6.git] / init / Kconfig
index 4119a44e41573ade4bef8b1b885053186b90b706..fe72c12e06a541a171ab9dd74344b9e9365c8720 100644 (file)
@@ -545,13 +545,13 @@ config CLASSIC_SRCU
 
 config TINY_SRCU
        bool
-       default y if TINY_RCU && !CLASSIC_SRCU
+       default y if SRCU && TINY_RCU && !CLASSIC_SRCU
        help
          This option selects the single-CPU non-preemptible version of SRCU.
 
 config TREE_SRCU
        bool
-       default y if !TINY_RCU && !CLASSIC_SRCU
+       default y if SRCU && !TINY_RCU && !CLASSIC_SRCU
        help
          This option selects the full-fledged version of SRCU.