debugobjects fix
Subsystems (2)
Linus,
Please pull the latest core-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git core-urgent-for-linus
Thanks,
Ingo
------------------>
Marcin Slusarz (1):
debugobjects: Fix boot crash when kmemleak and debugobjects enabled
lib/debugobjects.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
lib/debugobjects.c +1 -1
@@ -198,7 +198,7 @@ static void free_object(struct debug_obj *obj)* initialized: */ if (obj_pool_free >ODEBUG_POOL_SIZE && obj_cache) - sched = !work_pending (&debug_obj_work); + sched =keventd_up () && !work_pending (&debug_obj_work);hlist_add_head (&obj->node, &obj_pool); obj_pool_free++; obj_pool_used--;