sched: Generalize sleep inside spinlock detection
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / Documentation / DocBook / kernel-hacking.tmpl
index 7b3f493634133b7cf9ac8a0697074e8185b64096..07a9c48de5a2e6ce5f820b4e0123d6de0a4ce4e2 100644 (file)
@@ -409,7 +409,7 @@ cond_resched(); /* Will sleep */
 
   <para>
    You should always compile your kernel
-   <symbol>CONFIG_DEBUG_SPINLOCK_SLEEP</symbol> on, and it will warn
+   <symbol>CONFIG_DEBUG_ATOMIC_SLEEP</symbol> on, and it will warn
    you if you break these rules.  If you <emphasis>do</emphasis> break
    the rules, you will eventually lock up your box.
   </para>