From 5a63d72487f90d95b3fffd647c6d8e71ade1f548 Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Mon, 12 Sep 2005 18:49:25 +0200 Subject: [PATCH] --- yaml --- r: 8641 b: refs/heads/master c: 2ade81473636b33aaac64495f89a7dc572c529f0 h: refs/heads/master i: 8639: 98ac3158bae5b4023c3ecca004031e18e44d54a3 v: v3 --- [refs] | 2 +- trunk/include/asm-x86_64/local.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index f0f6a20a3cdc..c4726182113a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4b6a455c7472dabcc624faa740a297d50815b4c7 +refs/heads/master: 2ade81473636b33aaac64495f89a7dc572c529f0 diff --git a/trunk/include/asm-x86_64/local.h b/trunk/include/asm-x86_64/local.h index c954f15c1a75..3e72c41727c5 100644 --- a/trunk/include/asm-x86_64/local.h +++ b/trunk/include/asm-x86_64/local.h @@ -29,7 +29,7 @@ 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" @@ -37,7 +37,7 @@ static __inline__ void local_add(unsigned long i, local_t *v) :"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"