Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89
b: refs/heads/master
c: 1c17340
h: refs/heads/master
i:
  87: 10c727d
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Apr 16, 2005
1 parent f8e9bae commit 584d8b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 72e76be2fedb4db320a4855d870f731c1242a9d3
refs/heads/master: 1c1734090ebcd31e479798b3af4c260ae09bf3a4
3 changes: 2 additions & 1 deletion trunk/include/asm-x86_64/local.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ static __inline__ void local_sub(unsigned long i, local_t *v)
:"ir" (i), "m" (v->counter));
}

/* On x86, these are no better than the atomic variants. */
/* On x86-64 these are better than the atomic variants on SMP kernels
because they dont use a lock prefix. */
#define __local_inc(l) local_inc(l)
#define __local_dec(l) local_dec(l)
#define __local_add(i,l) local_add((i),(l))
Expand Down

0 comments on commit 584d8b9

Please sign in to comment.