All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] CodeSamples: Add api-pthreads/api-gcc.h in depends.mk
@ 2018-10-27 23:14 Akira Yokosawa
  2018-10-28  0:08 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: Akira Yokosawa @ 2018-10-27 23:14 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa

From ce0f6785bd5e059a29a3d647287bcf93648f66f8 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Sun, 28 Oct 2018 08:02:09 +0900
Subject: [PATCH] CodeSamples: Add api-pthreads/api-gcc.h in depends.mk

While testing change in cmpxchg() commited as cda0234ccd2c
("atomic_cmpxchg: Handle spurious failure of
__atomic_compare_exchange_n"), api.h was not updated
automatically by "make".  Fix this by adding the dependency
(api-pthreads/api-gcc.h -> api.h)

Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
 CodeSamples/depends.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/CodeSamples/depends.mk b/CodeSamples/depends.mk
index 31a8daf..a6db993 100644
--- a/CodeSamples/depends.mk
+++ b/CodeSamples/depends.mk
@@ -26,7 +26,9 @@ subdir_ub :=
 endif
 
 api_depend_common := $(top)/linux/common.h \
-	$(top)/api-pthreads/api-pthreads.h
+	$(top)/api-pthreads/api-pthreads.h \
+	$(top)/api-pthreads/api-gcc.h
+
 ifeq ($(target),x86)
 api_depend := $(top)/arch-x86/arch-x86.h
 arch_depend := $(top)/arch-x86/Makefile.arch
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-28  8:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-27 23:14 [PATCH] CodeSamples: Add api-pthreads/api-gcc.h in depends.mk Akira Yokosawa
2018-10-28  0:08 ` Paul E. McKenney

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.