Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19989
b: refs/heads/master
c: e0a6029
h: refs/heads/master
i:
  19987: 4a934e6
v: v3
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Feb 8, 2006
1 parent 3786376 commit ccf923b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 8519fb30e438f8088b71a94a7d5a660a814d3872
refs/heads/master: e0a602963485a2f109ae1521c0c55507304c63ed
6 changes: 3 additions & 3 deletions trunk/lib/spinlock_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ static void __spin_lock_debug(spinlock_t *lock)

for (;;) {
for (i = 0; i < loops_per_jiffy * HZ; i++) {
cpu_relax();
if (__raw_spin_trylock(&lock->raw_lock))
return;
__delay(1);
}
/* lockup suspected: */
if (print_once) {
Expand Down Expand Up @@ -144,9 +144,9 @@ static void __read_lock_debug(rwlock_t *lock)

for (;;) {
for (i = 0; i < loops_per_jiffy * HZ; i++) {
cpu_relax();
if (__raw_read_trylock(&lock->raw_lock))
return;
__delay(1);
}
/* lockup suspected: */
if (print_once) {
Expand Down Expand Up @@ -217,9 +217,9 @@ static void __write_lock_debug(rwlock_t *lock)

for (;;) {
for (i = 0; i < loops_per_jiffy * HZ; i++) {
cpu_relax();
if (__raw_write_trylock(&lock->raw_lock))
return;
__delay(1);
}
/* lockup suspected: */
if (print_once) {
Expand Down

0 comments on commit ccf923b

Please sign in to comment.