From 769150ccd069340d8ef7047c47e6cf582336696f Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Wed, 27 Sep 2006 14:40:30 -0700 Subject: [PATCH] --- yaml --- r: 36479 b: refs/heads/master c: 1f9bd4c96a8e918a86e083706e0d3eb7f030b9a3 h: refs/heads/master i: 36477: e1009fc60c42d92e0e8a477443f7cbb82c6fa7af 36475: 25f563ea2210bef7610101008da364e7673ec926 36471: 29334862ec618ac449a03b28b133648128e8b0bd 36463: ba23cffa999658a0a1dfbf8acc790b8f77600166 36447: 1f272ca40abd0c7c305bdd18ae304a924ea77dab 36415: 5ab9b0cbd779b2b679e3ad902bab985b74badfda 36351: eff43d17bea19f7e90870a076bfa379f4a858db7 v: v3 --- [refs] | 2 +- trunk/include/asm-i386/semaphore.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 4c584730a7ad..6ea0a40cd808 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7f38aa0f04259d37f26e1e906607f1ebb39c0c5c +refs/heads/master: 1f9bd4c96a8e918a86e083706e0d3eb7f030b9a3 diff --git a/trunk/include/asm-i386/semaphore.h b/trunk/include/asm-i386/semaphore.h index e63b6a68f04c..4e34a468c383 100644 --- a/trunk/include/asm-i386/semaphore.h +++ b/trunk/include/asm-i386/semaphore.h @@ -126,7 +126,7 @@ static inline int down_interruptible(struct semaphore * sem) "lea %1,%%eax\n\t" "call __down_failed_interruptible\n" "2:" - :"=a" (result), "+m" (sem->count) + :"=&a" (result), "+m" (sem->count) : :"memory"); return result; @@ -148,7 +148,7 @@ static inline int down_trylock(struct semaphore * sem) "lea %1,%%eax\n\t" "call __down_failed_trylock\n\t" "2:\n" - :"=a" (result), "+m" (sem->count) + :"=&a" (result), "+m" (sem->count) : :"memory"); return result;