diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-04-11 05:54:27 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-04-11 05:56:17 -0400 |
commit | 765a5e0cb581ef32646f58a213b38b56c77709b0 (patch) | |
tree | a26024288f0dba86084adc716bb4e0f82b155b04 /lib/debugobjects.c | |
parent | 1fda107d44de1e8df2bdfd1d4a2c12a338b8d725 (diff) |
debugobjects: printk with irqs enabled
No point in keeping interrupts disabled here.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'lib/debugobjects.c')
-rw-r--r-- | lib/debugobjects.c | 2 |
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) | |||
1051 | cnt++; | 1051 | cnt++; |
1052 | } | 1052 | } |
1053 | } | 1053 | } |
1054 | local_irq_enable(); | ||
1054 | 1055 | ||
1055 | printk(KERN_DEBUG "ODEBUG: %d of %d active objects replaced\n", cnt, | 1056 | printk(KERN_DEBUG "ODEBUG: %d of %d active objects replaced\n", cnt, |
1056 | obj_pool_used); | 1057 | obj_pool_used); |
1057 | local_irq_enable(); | ||
1058 | return 0; | 1058 | return 0; |
1059 | free: | 1059 | free: |
1060 | hlist_for_each_entry_safe(obj, node, tmp, &objects, node) { | 1060 | hlist_for_each_entry_safe(obj, node, tmp, &objects, node) { |