aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-11-19 17:11:06 +0000
committerAndy Green <andy@openmoko.com>2008-11-19 17:11:06 +0000
commite101f2045bffe7255dd8a6253ff7346d90cfe4ba (patch)
tree7b9e2070794bb17f44dfb547621217dbf88a5b33
parent6c97857b0184da9f83d3b25b8d9a23e8b0c7d1de (diff)
tracking-2.6.28-timer-blowup.patch
Signed-off-by: Andy Green <andy@openmoko.com>
-rw-r--r--kernel/timer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/timer.c b/kernel/timer.c
index dbd50fabe4c..17dbc746fd2 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -813,7 +813,11 @@ static int cascade(struct tvec_base *base, struct tvec *tv, int index)
* don't have to detach them individually.
*/
list_for_each_entry_safe(timer, tmp, &tv_list, entry) {
- BUG_ON(tbase_get_base(timer->base) != base);
+ if (tbase_get_base(timer->base) != base) {
+ printk(KERN_ERR "cascade: timer %p: tbase_get_base(timer->base) 0x%x "
+ "!= base 0x%x\n", timer, tbase_get_base(timer->base), base);
+ BUG_ON(1);
+ }
internal_add_timer(base, timer);
}