debugobjects: printk with irqs enabled
No point in keeping interrupts disabled here. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
1fda107d44
commit
765a5e0cb5
1 changed files with 1 additions and 1 deletions
|
@ -1051,10 +1051,10 @@ static int __init debug_objects_replace_static_objects(void)
|
||||||
cnt++;
|
cnt++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
local_irq_enable();
|
||||||
|
|
||||||
printk(KERN_DEBUG "ODEBUG: %d of %d active objects replaced\n", cnt,
|
printk(KERN_DEBUG "ODEBUG: %d of %d active objects replaced\n", cnt,
|
||||||
obj_pool_used);
|
obj_pool_used);
|
||||||
local_irq_enable();
|
|
||||||
return 0;
|
return 0;
|
||||||
free:
|
free:
|
||||||
hlist_for_each_entry_safe(obj, node, tmp, &objects, node) {
|
hlist_for_each_entry_safe(obj, node, tmp, &objects, node) {
|
||||||
|
|
Loading…
Reference in a new issue