includes/stg/SMP.h: implement simple load_/store_load_barrier on armv6 and older
authorSergei Trofimovich <siarheit@google.com>
Mon, 18 May 2015 21:22:18 +0000 (22:22 +0100)
committerSergei Trofimovich <siarheit@google.com>
Mon, 18 May 2015 21:22:34 +0000 (22:22 +0100)
commiteaaa38ba24d5152623cb202a98f71ed09deef0bb
tree78f10f1ecb152e907cf6e7d24ec2c9f748838e1f
parent228ddb95ee137e7cef02dcfe2521233892dd61e0
includes/stg/SMP.h: implement simple load_/store_load_barrier on armv6 and older

Assuming there is no real SMP systems on these CPUs
I've added only compiler barrier (otherwise write_barrier
and friends need to be fixed as well).

Patch also fixes build breakage reported in #10244.

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Reviewers: rwbarton, nomeata, austin

Reviewed By: nomeata, austin

Subscribers: bgamari, thomie

Differential Revision: https://phabricator.haskell.org/D894

GHC Trac Issues: #10244
includes/stg/SMP.h