File userspace-rcu-ppc64-use-ppc.patch of Package liburcu0
From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Date: Mon, 28 Sep 2015 11:16:57 -0400
Subject: powerpc64le: use "ppc" architecture
X-Git-Url: http://git.lttng.org/?p=userspace-rcu.git;a=commitdiff_plain;h=61126bd9c901fa403315db71d8d5351d716717cb
powerpc64le has been originally added to urcu with the "gcc" generic
architecture support. After testing, it appears that the "ppc"
architecture works as well.
Move to the "ppc" architecture so it becomes the same as other powerpc
32/64 (big endian) architectures.
Doing so wires up the membarrier system call on powerpc64le.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
diff --git a/configure.ac b/configure.ac
index 57e696d..10a1589 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,7 +79,7 @@ AS_CASE([$host_cpu],
[powerpc], [ARCHTYPE="ppc"],
[ppc64], [ARCHTYPE="ppc"],
[powerpc64], [ARCHTYPE="ppc"],
- [powerpc64le], [ARCHTYPE="gcc"],
+ [powerpc64le], [ARCHTYPE="ppc"],
[ppc], [ARCHTYPE="ppc"],
[s390], [ARCHTYPE="s390"],
[s390x], [ARCHTYPE="s390"],