cgrzemba / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

0ff9bb3 Ticket 48989 - Re-implement lock counter

Authored and Committed by William Brown 6 years ago
    Ticket 48989 - Re-implement lock counter
    
    Bug Description:  ppc 32bit does not support gcc atomic_*_8 operations.
    
    Fix Description:  Move the hardware detection routines outside of the
    platform checks. Make these check the libc exposed values for __atomic
    and that is used to determine if we use locks or atomics.
    
    https://pagure.io/389-ds-base/issue/48989
    
    Author: wibrown
    
    Review by: mreynolds
    
    Signed-off-by: Mark Reynolds <mreynolds@redhat.com>
    
        
file modified
+32 -17