Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117624
b: refs/heads/master
c: 030aebd
h: refs/heads/master
v: v3
  • Loading branch information
Arjan van de Ven committed Oct 11, 2008
1 parent 9101b8e commit ca19fdb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: 2778d0d51dd5007c4909c1d9874f5e9097785a7a
refs/heads/master: 030aebd2e439a2ebcca2b0ce30a02ed84feb043e
8 changes: 6 additions & 2 deletions trunk/kernel/hrtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1395,11 +1395,15 @@ void hrtimer_peek_ahead_timers(void)
unsigned long flags;
struct tick_device *td;
struct clock_event_device *dev;

if (!hrtimer_hres_active())
struct hrtimer_cpu_base *cpu_base;
if (hrtimer_hres_active())
return;

local_irq_save(flags);
cpu_base = &__get_cpu_var(hrtimer_bases);
if (!cpu_base->hres_active)
goto out;

td = &__get_cpu_var(tick_cpu_device);
if (!td)
goto out;
Expand Down

0 comments on commit ca19fdb

Please sign in to comment.