Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224026
b: refs/heads/master
c: 466bd30
h: refs/heads/master
v: v3
  • Loading branch information
Yong Zhang authored and Thomas Gleixner committed Oct 22, 2010
1 parent 3387363 commit 77d20b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1118e2cd33d47254854e1ba3ba8e32802ff14fdf
refs/heads/master: 466bd3030973910118ca601da8072be97a1e2209
6 changes: 5 additions & 1 deletion trunk/kernel/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,11 @@ int del_timer_sync(struct timer_list *timer)
lock_map_release(&timer->lockdep_map);
local_bh_enable();
#endif

/*
* don't use it in hardirq context, because it
* could lead to deadlock.
*/
WARN_ON(in_irq());
for (;;) {
int ret = try_to_del_timer_sync(timer);
if (ret >= 0)
Expand Down

0 comments on commit 77d20b6

Please sign in to comment.