• John David Anglin's avatar
    parisc: Revert "Release spinlocks using ordered store" · 86d4d068
    John David Anglin authored
    This reverts commit d27dfa13.
    
    Unfortunately, this patch needs to be reverted.  We need the full sync
    barrier and not the limited barrier provided by using an ordered store.
    The sync ensures that all accesses and cache purge instructions that
    follow the sync are performed after all such instructions prior the sync
    instruction have completed executing.
    
    The patch breaks the rwlock implementation in glibc.  This caused the
    test-lock application in the libprelude testsuite to hang.  With the
    change reverted, the test runs correctly and the libprelude package
    builds successfully.
    Signed-off-by: default avatarJohn David Anglin <dave.anglin@bell.net>
    Signed-off-by: default avatarHelge Deller <deller@gmx.de>
    86d4d068
spinlock.h 4.02 KB