]> git.karo-electronics.de Git - linux-beck.git/commitdiff
debugobjects: printk with irqs enabled
authorThomas Gleixner <tglx@linutronix.de>
Wed, 11 Apr 2012 09:54:27 +0000 (11:54 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 11 Apr 2012 09:56:17 +0000 (11:56 +0200)
No point in keeping interrupts disabled here.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
lib/debugobjects.c

index 3e5cd7c04a55229c546b599864ccf7b9b62734a0..1b6c00a933a9d50f92dce9cf94481ac062c6397b 100644 (file)
@@ -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) {