Christine Chan b84d435cc2 debugobjects: Extend to assert that an object is initialized
Calling del_timer_sync() on an uninitialized timer leads to a
never ending loop in lock_timer_base() that spins checking for a
non-NULL timer base. Add an assertion to debugobjects to catch
usage of uninitialized objects so that we can initialize timers
in the del_timer_sync() path before it calls lock_timer_base().

[ sboyd@codeaurora.org: Clarify commit message ]

Signed-off-by: Christine Chan <cschan@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: John Stultz <john.stultz@linaro.org>
Link: http://lkml.kernel.org/r/1320724108-20788-3-git-send-email-sboyd@codeaurora.org
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-11-23 18:49:22 +01:00
..
2011-09-30 15:57:24 -04:00
2011-08-29 20:00:37 +00:00
2008-10-17 14:40:53 -07:00
2011-03-31 11:26:23 -03:00
2010-10-29 13:14:39 -05:00
2011-03-31 11:26:23 -03:00
2008-10-30 11:38:47 -07:00
2011-03-27 19:30:19 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00