Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] x86-64: clean up local_add/sub arguments

Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Andi Kleen and committed by
Linus Torvalds
2ade8147 4b6a455c

+2 -2
+2 -2
include/asm-x86_64/local.h
··· 29 29 :"m" (v->counter)); 30 30 } 31 31 32 - static __inline__ void local_add(unsigned long i, local_t *v) 32 + static __inline__ void local_add(unsigned int i, local_t *v) 33 33 { 34 34 __asm__ __volatile__( 35 35 "addl %1,%0" ··· 37 37 :"ir" (i), "m" (v->counter)); 38 38 } 39 39 40 - static __inline__ void local_sub(unsigned long i, local_t *v) 40 + static __inline__ void local_sub(unsigned int i, local_t *v) 41 41 { 42 42 __asm__ __volatile__( 43 43 "subl %1,%0"