All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.ibm.com>
To: Akira Yokosawa <akiyks@gmail.com>
Cc: perfbook@vger.kernel.org
Subject: Re: [PATCH] CodeSamples: Add api-pthreads/api-gcc.h in depends.mk
Date: Sat, 27 Oct 2018 17:08:59 -0700	[thread overview]
Message-ID: <20181028000859.GI4170@linux.ibm.com> (raw)
In-Reply-To: <3244d38a-5ac7-657f-83c4-38d0adf2a7c8@gmail.com>

On Sun, Oct 28, 2018 at 08:14:37AM +0900, Akira Yokosawa wrote:
> >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>

Applied and pushed, thank you!

							Thanx,  Paul

> ---
>  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
> 


      reply	other threads:[~2018-10-28  8:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=20181028000859.GI4170@linux.ibm.com \
    --to=paulmck@linux.ibm.com \
    --cc=akiyks@gmail.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.