diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-14 12:07:19 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-11-15 02:18:47 +0100 |
commit | 7d649630994c765065aa3120ecfdc76800993ea0 (patch) | |
tree | 4567f2bbf481255c14a92504f15a0ba759afc2ac | |
parent | cca9a557841e02c572fe6ecce96e489fb0f7af2b (diff) |
i386/i386/lock.h: remove register quaalifier
* i386/i386/lock.h: Remove register qualifier.
-rw-r--r-- | i386/i386/lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/lock.h b/i386/i386/lock.h index 38a66c8..b989927 100644 --- a/i386/i386/lock.h +++ b/i386/i386/lock.h @@ -44,7 +44,7 @@ */ #define _simple_lock_xchg_(lock, new_val) \ - ({ register int _old_val_; \ + ({ int _old_val_; \ asm volatile("xchgl %0, %2" \ : "=r" (_old_val_) \ : "0" (new_val), "m" (*(lock) : "memory") \ |