From d4377458bdf617b6a6fb38a1cb8147a7a8e976fd Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Sat, 30 Sep 2006 01:47:55 +0200 Subject: [PATCH] --- yaml --- r: 37237 b: refs/heads/master c: c84ef5305930d19bdd6cd576b3a3a73786a82e57 h: refs/heads/master i: 37235: cd7b14e3bfa6d52761e4c1843e2a53bff1964bbe v: v3 --- [refs] | 2 +- trunk/include/asm-x86_64/semaphore.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 321a7231fb5e..abaa8d87ba7c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 34596dc9e59d7bece16fe5aba08116b49465da26 +refs/heads/master: c84ef5305930d19bdd6cd576b3a3a73786a82e57 diff --git a/trunk/include/asm-x86_64/semaphore.h b/trunk/include/asm-x86_64/semaphore.h index 107bd90429e8..1194888536b9 100644 --- a/trunk/include/asm-x86_64/semaphore.h +++ b/trunk/include/asm-x86_64/semaphore.h @@ -132,7 +132,7 @@ static inline int down_interruptible(struct semaphore * sem) "jns 2f\n\t" "call __down_failed_interruptible\n" "2:\n" - :"=a" (result), "=m" (sem->count) + :"=&a" (result), "=m" (sem->count) :"D" (sem) :"memory"); return result; @@ -153,7 +153,7 @@ static inline int down_trylock(struct semaphore * sem) "jns 2f\n\t" "call __down_failed_trylock\n\t" "2:\n" - :"=a" (result), "=m" (sem->count) + :"=&a" (result), "=m" (sem->count) :"D" (sem) :"memory","cc"); return result;