Revise PARISC atomic support to use GCC atomic builtins
authorJohn David Anglin <dave.anglin@bell.net>
Mon, 24 Jan 2022 10:55:59 +0000 (10:55 +0000)
committerUtkarsh Gupta <utkarsh@debian.org>
Mon, 24 Jan 2022 10:55:59 +0000 (10:55 +0000)
commit7783e743656fc5e5e5bae6c27759d2d1c828a087
tree0fbc21801f1213d322191cf73ea100dc3ba89080
parent84a067e3d3fb24bd357a7351922b20ad4a291f5d
Revise PARISC atomic support to use GCC atomic builtins

Bug-Debian: http://bugs.debian.org/741190
Forwarded: not-needed
Last-Update: <2014-05-03>

 The current atomic support for PARISC uses a four word object
 to dynamically address the alignment requirements of the ldcw
 instruction.  Unfortunately, the current implementation breaks
 the smokeqt package build <http://bugs.debian.org/708200>.
 This change uses the GCC atomic builtin support available on
 linux for qt4-x11 atomic operations.  It is derived from the
 AVR32 implementation.  This allows atomic operations on integer
 objects.

Gbp-Pq: Name parisc-atomic.patch
src/corelib/arch/parisc/arch.pri
src/corelib/arch/qatomic_parisc.h
src/corelib/thread/qatomic.h
src/corelib/thread/qbasicatomic.h