diff options
| author | Nathan Kinder <nkinder@redhat.com> | 2008-11-21 17:06:05 +0000 |
|---|---|---|
| committer | Nathan Kinder <nkinder@redhat.com> | 2008-11-21 17:06:05 +0000 |
| commit | 1aa243533d6a6734a732cee97132c5ab6428d64d (patch) | |
| tree | 76b1ead30e3f536fc5d883bf9fc5e9ca377223a0 | |
| parent | 3c182986c43e1204345fa56dedf5657b9f0493b6 (diff) | |
Resolves: 207457
Summary: Changed the way we specify the memory offset in the slapi_counter_set_value() assembly code to make it work properly with gcc3.
| -rw-r--r-- | ldap/servers/slapd/slapi_counter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/servers/slapd/slapi_counter.c b/ldap/servers/slapd/slapi_counter.c index 0a43bbbc..c9930d59 100644 --- a/ldap/servers/slapd/slapi_counter.c +++ b/ldap/servers/slapd/slapi_counter.c @@ -306,7 +306,7 @@ PRUint64 slapi_counter_set_value(Slapi_Counter *counter, PRUint64 newvalue) " movl 4%0, %%edx;" /* Put newval in ECX:EBX */ " movl %1, %%ebx;" - " movl 4%1, %%ecx;" + " movl 4+%1, %%ecx;" /* If EDX:EAX and counter-> are the same, * replace *ptr with ECX:EBX */ " lock; cmpxchg8b %0;" |
