summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-04-11 11:54:27 +0200
committerThomas Gleixner <tglx@linutronix.de>2012-04-11 11:56:17 +0200
commit765a5e0cb581ef32646f58a213b38b56c77709b0 (patch)
treea26024288f0dba86084adc716bb4e0f82b155b04
parent1fda107d44de1e8df2bdfd1d4a2c12a338b8d725 (diff)
downloadlinux-765a5e0cb581ef32646f58a213b38b56c77709b0.tar.bz2
debugobjects: printk with irqs enabled
No point in keeping interrupts disabled here. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--lib/debugobjects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/debugobjects.c b/lib/debugobjects.c
index 3e5cd7c04a55..1b6c00a933a9 100644
--- a/lib/debugobjects.c
+++ b/lib/debugobjects.c
@@ -1051,10 +1051,10 @@ static int __init debug_objects_replace_static_objects(void)
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) {