All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mathieu Desnoyers via lttng-dev <lttng-dev@lists.lttng.org>
To: Michael Jeanson <mjeanson@efficios.com>
Cc: lttng-dev <lttng-dev@lists.lttng.org>
Subject: Re: [lttng-dev] [PATCH urcu] fix: explicitly include urcu/config.h in files using CONFIG_RCU_ defines
Date: Tue, 17 Nov 2020 15:34:15 -0500 (EST)	[thread overview]
Message-ID: <1715318277.48429.1605645255528.JavaMail.zimbra@efficios.com> (raw)
In-Reply-To: <20201117202224.83751-1-mjeanson@efficios.com>

Merged into master, stable-0.11, stable-0.12, thanks!

Mathieu

----- On Nov 17, 2020, at 3:22 PM, Michael Jeanson mjeanson@efficios.com wrote:

> Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
> ---
> include/urcu/debug.h       | 2 ++
> include/urcu/uatomic/x86.h | 1 +
> include/urcu/urcu-qsbr.h   | 2 ++
> src/urcu-bp.c              | 1 +
> src/urcu-utils.h           | 2 ++
> src/urcu.c                 | 1 +
> 6 files changed, 9 insertions(+)
> 
> diff --git a/include/urcu/debug.h b/include/urcu/debug.h
> index 14b50b6..4a7eac9 100644
> --- a/include/urcu/debug.h
> +++ b/include/urcu/debug.h
> @@ -21,6 +21,8 @@
> 
> #include <assert.h>
> 
> +#include <urcu/config.h>
> +
> #if defined(DEBUG_RCU) || defined(CONFIG_RCU_DEBUG)
> #define urcu_assert(...)	assert(__VA_ARGS__)
> #else
> diff --git a/include/urcu/uatomic/x86.h b/include/urcu/uatomic/x86.h
> index 129a2f5..2a4ea1c 100644
> --- a/include/urcu/uatomic/x86.h
> +++ b/include/urcu/uatomic/x86.h
> @@ -20,6 +20,7 @@
>  * Boehm-Demers-Weiser conservative garbage collector.
>  */
> 
> +#include <urcu/config.h>
> #include <urcu/compiler.h>
> #include <urcu/system.h>
> 
> diff --git a/include/urcu/urcu-qsbr.h b/include/urcu/urcu-qsbr.h
> index 28e6065..fd6cbda 100644
> --- a/include/urcu/urcu-qsbr.h
> +++ b/include/urcu/urcu-qsbr.h
> @@ -31,6 +31,8 @@
> #include <stdlib.h>
> #include <pthread.h>
> 
> +#include <urcu/config.h>
> +
> /*
>  * See urcu/pointer.h and urcu/static/pointer.h for pointer
>  * publication headers.
> diff --git a/src/urcu-bp.c b/src/urcu-bp.c
> index 05efd97..c2ac792 100644
> --- a/src/urcu-bp.c
> +++ b/src/urcu-bp.c
> @@ -37,6 +37,7 @@
> #include <stdbool.h>
> #include <sys/mman.h>
> 
> +#include <urcu/config.h>
> #include <urcu/arch.h>
> #include <urcu/wfcqueue.h>
> #include <urcu/map/urcu-bp.h>
> diff --git a/src/urcu-utils.h b/src/urcu-utils.h
> index 407f42e..69e37bd 100644
> --- a/src/urcu-utils.h
> +++ b/src/urcu-utils.h
> @@ -23,6 +23,8 @@
>  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
>  */
> 
> +#include <urcu/config.h>
> +
> #define urcu_stringify(a) _urcu_stringify(a)
> #define _urcu_stringify(a) #a
> 
> diff --git a/src/urcu.c b/src/urcu.c
> index f6ca5f8..2ebe993 100644
> --- a/src/urcu.c
> +++ b/src/urcu.c
> @@ -38,6 +38,7 @@
> #include <stdbool.h>
> #include <poll.h>
> 
> +#include <urcu/config.h>
> #include <urcu/arch.h>
> #include <urcu/wfcqueue.h>
> #include <urcu/map/urcu.h>
> --
> 2.29.2

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

      reply	other threads:[~2020-11-17 20:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-17 20:22 [lttng-dev] [PATCH urcu] fix: explicitly include urcu/config.h in files using CONFIG_RCU_ defines Michael Jeanson via lttng-dev
2020-11-17 20:34 ` Mathieu Desnoyers via lttng-dev [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=1715318277.48429.1605645255528.JavaMail.zimbra@efficios.com \
    --to=lttng-dev@lists.lttng.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mjeanson@efficios.com \
    /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.