Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117630
b: refs/heads/master
c: 643bdf6
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Oct 20, 2008
1 parent fa5fbe1 commit f8890e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 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: e1dd7bc58578ebfcaba989608017fe5156c29c86
refs/heads/master: 643bdf68f92a8516574ed7ca3713f9334c331b8d
12 changes: 3 additions & 9 deletions trunk/kernel/hrtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1394,22 +1394,16 @@ void hrtimer_interrupt(struct clock_event_device *dev)
*/
void hrtimer_peek_ahead_timers(void)
{
unsigned long flags;
struct tick_device *td;
struct clock_event_device *dev;
unsigned long flags;

if (!hrtimer_hres_active())
return;

local_irq_save(flags);
td = &__get_cpu_var(tick_cpu_device);
if (!td)
goto out;
dev = td->evtdev;
if (!dev)
goto out;
hrtimer_interrupt(dev);
out:
if (td && td->evtdev)
hrtimer_interrupt(td->evtdev);
local_irq_restore(flags);
}

Expand Down

0 comments on commit f8890e9

Please sign in to comment.