Skip to content

Commit

Permalink
debugobjects: printk with irqs enabled
Browse files Browse the repository at this point in the history
No point in keeping interrupts disabled here.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner committed Apr 11, 2012
1 parent 1fda107 commit 765a5e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/debugobjects.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 765a5e0

Please sign in to comment.