Skip to content

Commit 765a5e0

Browse files
committed
debugobjects: printk with irqs enabled
No point in keeping interrupts disabled here. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent 1fda107 commit 765a5e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/debugobjects.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,10 +1051,10 @@ static int __init debug_objects_replace_static_objects(void)
10511051
cnt++;
10521052
}
10531053
}
1054+
local_irq_enable();
10541055

10551056
printk(KERN_DEBUG "ODEBUG: %d of %d active objects replaced\n", cnt,
10561057
obj_pool_used);
1057-
local_irq_enable();
10581058
return 0;
10591059
free:
10601060
hlist_for_each_entry_safe(obj, node, tmp, &objects, node) {

0 commit comments

Comments
 (0)