Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156949
b: refs/heads/master
c: f738eb1
h: refs/heads/master
i:
  156947: f6abb7c
v: v3
  • Loading branch information
Ingo Molnar committed Aug 18, 2009
1 parent ff1b2af commit eb3a665
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e1ac3614ff606ae03677f47459113f98a19af63c
refs/heads/master: f738eb1b63edf664da1b4ac76895d988749b2f07
4 changes: 4 additions & 0 deletions trunk/kernel/perf_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -2019,6 +2019,10 @@ int perf_counter_task_disable(void)
return 0;
}

#ifndef PERF_COUNTER_INDEX_OFFSET
# define PERF_COUNTER_INDEX_OFFSET 0
#endif

static int perf_counter_index(struct perf_counter *counter)
{
if (counter->state != PERF_COUNTER_STATE_ACTIVE)
Expand Down

0 comments on commit eb3a665

Please sign in to comment.