From: Akira Yokosawa <akiyks@gmail.com>
To: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: perfbook@vger.kernel.org, Akira Yokosawa <akiyks@gmail.com>
Subject: [PATCH 1/2] CodeSamples: Fixes for build on ppc64le
Date: Sat, 3 Jun 2017 16:03:04 +0900 [thread overview]
Message-ID: <5cac4c07-08de-e157-fd9c-c9036f5cc206@gmail.com> (raw)
In-Reply-To: <ad29f159-eb20-4493-d1f7-90bd4b3f17ae@gmail.com>
From 9fdd8f22bc417c53b4467ccd997b9d2fb833832a Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Sat, 3 Jun 2017 02:23:20 +0000
Subject: [PATCH 1/2] CodeSamples: Fixes for build on ppc64le
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
CodeSamples/Makefile | 2 ++
CodeSamples/depends.mk | 2 ++
2 files changed, 4 insertions(+)
diff --git a/CodeSamples/Makefile b/CodeSamples/Makefile
index 4168220..e1593a7 100644
--- a/CodeSamples/Makefile
+++ b/CodeSamples/Makefile
@@ -92,6 +92,8 @@ pthreads-ppc64:
echo "" >> api.h
cat api-pthreads/api-pthreads.h >> api.h
echo "" >> api.h
+ cat api-pthreads/api-gcc.h >> api.h
+ echo "" >> api.h
if test -f /usr/include/urcu-call-rcu.h -o -f /usr/local/include/urcu-call-rcu.h ; \
then \
echo "#define _LGPL_SOURCE" >> api.h; \
diff --git a/CodeSamples/depends.mk b/CodeSamples/depends.mk
index 409eeee..f3a325d 100644
--- a/CodeSamples/depends.mk
+++ b/CodeSamples/depends.mk
@@ -8,6 +8,8 @@ else ifeq ($(arch),x86_64)
target := x86
else ifeq ($(arch),ppc64)
target := ppc64
+else ifeq ($(arch),ppc64le)
+target := ppc64
else ifneq (,$(findstring arm,$(arch)))
target := arm
else
--
2.7.4
next prev parent reply other threads:[~2017-06-03 7:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-03 7:01 [PATCH 0/2] CodeSamples: Fixes for ppc64 Akira Yokosawa
2017-06-03 7:03 ` Akira Yokosawa [this message]
2017-06-03 7:04 ` [PATCH 2/2] CodeSamples: Remove cpu specific flag " Akira Yokosawa
2017-06-03 20:20 ` [PATCH 0/2] CodeSamples: Fixes " Paul E. McKenney
2017-06-03 23:32 ` Akira Yokosawa
2017-06-04 21:58 ` Paul E. McKenney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5cac4c07-08de-e157-fd9c-c9036f5cc206@gmail.com \
--to=akiyks@gmail.com \
--cc=paulmck@linux.vnet.ibm.com \
--cc=perfbook@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.