Revise PARISC atomic support to use GCC atomic builtins
authorJohn David Anglin <dave.anglin@bell.net>
Tue, 22 Aug 2023 13:42:24 +0000 (14:42 +0100)
committerRoberto C. Sánchez <roberto@debian.org>
Tue, 22 Aug 2023 13:42:24 +0000 (14:42 +0100)
commit587f176a5325545569ff04b9afeee16c2b2ef192
treeba40a30c6a8c43a5abc960fe3aeeedd437b2e853
parentdfd434438e389b9bc0394a5d74ebc4ffb20f47fa
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