Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 424
b: refs/heads/master
c: 9a59c18
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Apr 25, 2005
1 parent c9d787e commit 2aae004
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: 24dc6ead53f8fcae4b1908c4ea3fea75ee844a6d
refs/heads/master: 9a59c1860d01b3dea9ab01d5cefb9d5c52042e6d
4 changes: 2 additions & 2 deletions trunk/include/asm-sparc64/spinlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ typedef struct {

#define spin_unlock_wait(lp) \
do { membar("#LoadLoad"); \
} while(lp->lock)
} while((lp)->lock)

static inline void _raw_spin_lock(spinlock_t *lock)
{
Expand Down Expand Up @@ -149,7 +149,7 @@ typedef struct {
unsigned int break_lock;
#endif
} rwlock_t;
#define RW_LOCK_UNLOCKED {0,}
#define RW_LOCK_UNLOCKED (rwlock_t) {0,}
#define rwlock_init(lp) do { *(lp) = RW_LOCK_UNLOCKED; } while(0)

static void inline __read_lock(rwlock_t *lock)
Expand Down

0 comments on commit 2aae004

Please sign in to comment.