forked from pool/userspace-rcu
Accepting request 373377 from home:k0da:branches:devel:libraries:c_c++
- userspace-rcu-ppc64le.patch use ppc for ppc64le http://git.lttng.org/?p=userspace-rcu.git;a=commit;h=61126bd9c901fa403315db71d8d5351d716717cb OBS-URL: https://build.opensuse.org/request/show/373377 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/userspace-rcu?expand=0&rev=22
This commit is contained in:
parent
fe82138cf2
commit
71955d549c
34
userspace-rcu-ppc64le.patch
Normal file
34
userspace-rcu-ppc64le.patch
Normal file
@ -0,0 +1,34 @@
|
||||
From 61126bd9c901fa403315db71d8d5351d716717cb Mon Sep 17 00:00:00 2001
|
||||
From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
|
||||
Date: Mon, 28 Sep 2015 11:16:57 -0400
|
||||
Subject: [PATCH] powerpc64le: use "ppc" architecture
|
||||
|
||||
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>
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
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"],
|
||||
--
|
||||
1.9.1
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 15 15:56:31 UTC 2016 - dvaleev@suse.com
|
||||
|
||||
- userspace-rcu-ppc64le.patch use ppc for ppc64le
|
||||
http://git.lttng.org/?p=userspace-rcu.git;a=commit;h=61126bd9c901fa403315db71d8d5351d716717cb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 29 19:09:49 UTC 2015 - dmueller@suse.com
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# spec file for package userspace-rcu
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -29,6 +29,7 @@ Source0: http://lttng.org/files/urcu/userspace-rcu-%{version}.tar.bz2
|
||||
Source1: http://lttng.org/files/urcu/userspace-rcu-%{version}.tar.bz2.asc
|
||||
Source2: userspace-rcu.keyring
|
||||
Patch1: userspace-rcu-aarch64.patch
|
||||
Patch2: userspace-rcu-ppc64le.patch
|
||||
Url: http://lttng.org/urcu
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: automake
|
||||
@ -71,6 +72,7 @@ accesses to detect grace periods after which memory reclamation is possible.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
|
Loading…
Reference in New Issue
Block a user