Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166626
b: refs/heads/master
c: 152f9d0
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and Ingo Molnar committed Sep 30, 2009
1 parent 8aaba58 commit 40df12c
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 79e1dd05d1a22e95ab6d54d21836f478b3b56976
refs/heads/master: 152f9d0710a62708710161bce1b29fa8292c8c11
4 changes: 2 additions & 2 deletions trunk/kernel/sched_clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static u64 sched_clock_local(struct sched_clock_data *scd)
clock = wrap_max(clock, min_clock);
clock = wrap_min(clock, max_clock);

if (cmpxchg(&scd->clock, old_clock, clock) != old_clock)
if (cmpxchg64(&scd->clock, old_clock, clock) != old_clock)
goto again;

return clock;
Expand Down Expand Up @@ -163,7 +163,7 @@ static u64 sched_clock_remote(struct sched_clock_data *scd)
val = remote_clock;
}

if (cmpxchg(ptr, old_val, val) != old_val)
if (cmpxchg64(ptr, old_val, val) != old_val)
goto again;

return val;
Expand Down

0 comments on commit 40df12c

Please sign in to comment.