Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147464
b: refs/heads/master
c: 2e569d3
h: refs/heads/master
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed May 15, 2009
1 parent b51e829 commit a151237
Show file tree
Hide file tree
Showing 2 changed files with 2 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: f5456a6b056b709282e87a68b4c1b81ac2e866fa
refs/heads/master: 2e569d36729c8105ae066a9b105068305442cc77
2 changes: 1 addition & 1 deletion trunk/kernel/perf_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -2942,7 +2942,7 @@ perf_counter_alloc(struct perf_counter_hw_event *hw_event,

hwc = &counter->hw;
if (hw_event->freq && hw_event->irq_freq)
hwc->irq_period = TICK_NSEC / hw_event->irq_freq;
hwc->irq_period = div64_u64(TICK_NSEC, hw_event->irq_freq);
else
hwc->irq_period = hw_event->irq_period;

Expand Down

0 comments on commit a151237

Please sign in to comment.