Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 663
b: refs/heads/master
c: d637413
h: refs/heads/master
i:
  661: ead987b
  659: ef98856
  655: fe3aed1
v: v3
  • Loading branch information
Jake Moilanen authored and Linus Torvalds committed May 1, 2005
1 parent 5a8e295 commit fd970bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: d59dd4620fb8d6422555a9e2b82a707718e68327
refs/heads/master: d637413f3f05b41f678f8004225b33b62274183f
8 changes: 4 additions & 4 deletions trunk/include/asm-ppc64/spinlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ static void __inline__ _raw_spin_lock(spinlock_t *lock)
HMT_low();
if (SHARED_PROCESSOR)
__spin_yield(lock);
} while (likely(lock->lock != 0));
} while (unlikely(lock->lock != 0));
HMT_medium();
}
}
Expand All @@ -128,7 +128,7 @@ static void __inline__ _raw_spin_lock_flags(spinlock_t *lock, unsigned long flag
HMT_low();
if (SHARED_PROCESSOR)
__spin_yield(lock);
} while (likely(lock->lock != 0));
} while (unlikely(lock->lock != 0));
HMT_medium();
local_irq_restore(flags_dis);
}
Expand Down Expand Up @@ -194,7 +194,7 @@ static void __inline__ _raw_read_lock(rwlock_t *rw)
HMT_low();
if (SHARED_PROCESSOR)
__rw_yield(rw);
} while (likely(rw->lock < 0));
} while (unlikely(rw->lock < 0));
HMT_medium();
}
}
Expand Down Expand Up @@ -251,7 +251,7 @@ static void __inline__ _raw_write_lock(rwlock_t *rw)
HMT_low();
if (SHARED_PROCESSOR)
__rw_yield(rw);
} while (likely(rw->lock != 0));
} while (unlikely(rw->lock != 0));
HMT_medium();
}
}
Expand Down

0 comments on commit fd970bd

Please sign in to comment.