]> err.no Git - linux-2.6/blobdiff - kernel/spinlock.c
Merge branch 'audit.b28' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit...
[linux-2.6] / kernel / spinlock.c
index bfd6ad9c0330b61b34d780392fdcf3e2a4c64386..fb524b009eefeca3ffd2a2a929421a7eeb997660 100644 (file)
@@ -72,7 +72,7 @@ EXPORT_SYMBOL(_write_trylock);
  * not re-enabled during lock-acquire (which the preempt-spin-ops do):
  */
 #if !defined(CONFIG_PREEMPT) || !defined(CONFIG_SMP) || \
-       defined(CONFIG_PROVE_LOCKING)
+       defined(CONFIG_DEBUG_LOCK_ALLOC)
 
 void __lockfunc _read_lock(rwlock_t *lock)
 {