Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147663
b: refs/heads/master
c: 6dc5f2a
h: refs/heads/master
i:
  147661: 3dbf987
  147659: eb3dfb6
  147655: 240ebe7
  147647: 0b0be43
v: v3
  • Loading branch information
Paul Mackerras authored and Ingo Molnar committed Jun 5, 2009
1 parent 5ede3ed commit 55ecf7f
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: 76a0f40fd6eff1bce3b91925cea7587b3399fe80
refs/heads/master: 6dc5f2a41759987e35e757ef00192e7b424563bb
2 changes: 1 addition & 1 deletion trunk/kernel/perf_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -2234,7 +2234,7 @@ static int perf_output_begin(struct perf_output_handle *handle,
perf_output_lock(handle);

do {
offset = head = atomic_read(&data->head);
offset = head = atomic_long_read(&data->head);
head += size;
} while (atomic_long_cmpxchg(&data->head, offset, head) != offset);

Expand Down

0 comments on commit 55ecf7f

Please sign in to comment.