[RFC][PATCH 3/7] printk, lockdep: Remove lockdep_off() usage

From: Peter Zijlstra
Date: Wed Dec 21 2011 - 06:18:24 EST


Now that we've removed all reasons for disabling lockdep in the printk
code, stop doing so.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
---
kernel/printk.c | 2 --
1 file changed, 2 deletions(-)
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -884,7 +884,6 @@ asmlinkage int vprintk(const char *fmt,
zap_locks();
}

- lockdep_off();
raw_spin_lock(&logbuf_lock);
printk_cpu = this_cpu;

@@ -981,7 +980,6 @@ asmlinkage int vprintk(const char *fmt,
if (console_trylock_for_printk(this_cpu))
console_unlock();

- lockdep_on();
out_restore_irqs:
local_irq_restore(flags);



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/