Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8641
b: refs/heads/master
c: 2ade814
h: refs/heads/master
i:
  8639: 98ac315
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Sep 12, 2005
1 parent 13e87e8 commit 5a63d72
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: 4b6a455c7472dabcc624faa740a297d50815b4c7
refs/heads/master: 2ade81473636b33aaac64495f89a7dc572c529f0
4 changes: 2 additions & 2 deletions trunk/include/asm-x86_64/local.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ static __inline__ void local_dec(local_t *v)
:"m" (v->counter));
}

static __inline__ void local_add(unsigned long i, local_t *v)
static __inline__ void local_add(unsigned int i, local_t *v)
{
__asm__ __volatile__(
"addl %1,%0"
:"=m" (v->counter)
:"ir" (i), "m" (v->counter));
}

static __inline__ void local_sub(unsigned long i, local_t *v)
static __inline__ void local_sub(unsigned int i, local_t *v)
{
__asm__ __volatile__(
"subl %1,%0"
Expand Down

0 comments on commit 5a63d72

Please sign in to comment.