Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37636
b: refs/heads/master
c: cdc3936
h: refs/heads/master
v: v3
  • Loading branch information
Martin Schwidefsky authored and Linus Torvalds committed Oct 1, 2006
1 parent aaeb2c4 commit 5cb196b
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: ef6edc9746dc2bfdacf44eefd5f881179971c478
refs/heads/master: cdc39363d33506b0e067d41fc91f89d186bdf7f7
6 changes: 3 additions & 3 deletions trunk/include/asm-powerpc/spinlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ static __inline__ void __raw_write_unlock(raw_rwlock_t *rw)
rw->lock = 0;
}

#define _raw_spin_relax(lock) cpu_relax()
#define _raw_read_relax(lock) cpu_relax()
#define _raw_write_relax(lock) cpu_relax()
#define _raw_spin_relax(lock) __spin_yield(lock)
#define _raw_read_relax(lock) __rw_yield(lock)
#define _raw_write_relax(lock) __rw_yield(lock)

#endif /* __KERNEL__ */
#endif /* __ASM_SPINLOCK_H */

0 comments on commit 5cb196b

Please sign in to comment.