Messages in this thread Patch in this message | | | Date | Wed, 21 Dec 2011 11:57:42 +0100 | From | Peter Zijlstra <> | Subject | [RFC][PATCH 3/7] printk, lockdep: Remove lockdep_off() usage |
| |
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@chello.nl> --- 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);
| |