debugobjects: printk with irqs enabled
No point in keeping interrupts disabled here.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
diff --git a/lib/debugobjects.c b/lib/debugobjects.c
index 3e5cd7c..1b6c00a 100644
--- a/lib/debugobjects.c
+++ b/lib/debugobjects.c
@@ -1051,10 +1051,10 @@
cnt++;
}
}
+ local_irq_enable();
printk(KERN_DEBUG "ODEBUG: %d of %d active objects replaced\n", cnt,
obj_pool_used);
- local_irq_enable();
return 0;
free:
hlist_for_each_entry_safe(obj, node, tmp, &objects, node) {