All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grygorii Strashko <grygorii.strashko@ti.com>
To: <bigeasy@linutronix.de>,
	Russell King <rmk+kernel@arm.linux.org.uk>,
	<linux-rt-users@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	Sekhar Nori <nsekhar@ti.com>,
	Grygorii Strashko <Grygorii.Strashko@linaro.org>
Subject: Re: [4.1.2-rt1 PATCH] include/linux/pid.h: fix build error
Date: Fri, 15 Jan 2016 16:17:49 +0200	[thread overview]
Message-ID: <5698FF8D.2030708@ti.com> (raw)
In-Reply-To: <1452867255-1121-1-git-send-email-grygorii.strashko@ti.com>

Sorry- ignore this e-mail pls

On 01/15/2016 04:14 PM, Grygorii Strashko wrote:
> From: Grygorii Strashko <Grygorii.Strashko@linaro.org>
>
> This patch fixes build error:
>    CC      kernel/pid_namespace.o
> In file included from kernel/pid_namespace.c:11:0:
> include/linux/pid.h: In function 'get_pid':
> include/linux/pid.h:78:3: error: implicit declaration of function 'atomic_inc' [-Werror=implicit-function-declaration]
>     atomic_inc(&pid->count);
>     ^
> which happens when
>   CONFIG_PROVE_LOCKING=n
>   CONFIG_DEBUG_SPINLOCK=n
>   CONFIG_DEBUG_MUTEXES=n
>   CONFIG_DEBUG_LOCK_ALLOC=n
>
> Signed-off-by: Grygorii Strashko <Grygorii.Strashko@linaro.org>
> ---
>   include/linux/pid.h | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/include/linux/pid.h b/include/linux/pid.h
> index 23705a53..2cc64b7 100644
> --- a/include/linux/pid.h
> +++ b/include/linux/pid.h
> @@ -2,6 +2,7 @@
>   #define _LINUX_PID_H
>
>   #include <linux/rcupdate.h>
> +#include <linux/atomic.h>
>
>   enum pid_type
>   {
>


-- 
regards,
-grygorii

WARNING: multiple messages have this Message-ID (diff)
From: grygorii.strashko@ti.com (Grygorii Strashko)
To: linux-arm-kernel@lists.infradead.org
Subject: [4.1.2-rt1 PATCH] include/linux/pid.h: fix build error
Date: Fri, 15 Jan 2016 16:17:49 +0200	[thread overview]
Message-ID: <5698FF8D.2030708@ti.com> (raw)
In-Reply-To: <1452867255-1121-1-git-send-email-grygorii.strashko@ti.com>

Sorry- ignore this e-mail pls

On 01/15/2016 04:14 PM, Grygorii Strashko wrote:
> From: Grygorii Strashko <Grygorii.Strashko@linaro.org>
>
> This patch fixes build error:
>    CC      kernel/pid_namespace.o
> In file included from kernel/pid_namespace.c:11:0:
> include/linux/pid.h: In function 'get_pid':
> include/linux/pid.h:78:3: error: implicit declaration of function 'atomic_inc' [-Werror=implicit-function-declaration]
>     atomic_inc(&pid->count);
>     ^
> which happens when
>   CONFIG_PROVE_LOCKING=n
>   CONFIG_DEBUG_SPINLOCK=n
>   CONFIG_DEBUG_MUTEXES=n
>   CONFIG_DEBUG_LOCK_ALLOC=n
>
> Signed-off-by: Grygorii Strashko <Grygorii.Strashko@linaro.org>
> ---
>   include/linux/pid.h | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/include/linux/pid.h b/include/linux/pid.h
> index 23705a53..2cc64b7 100644
> --- a/include/linux/pid.h
> +++ b/include/linux/pid.h
> @@ -2,6 +2,7 @@
>   #define _LINUX_PID_H
>
>   #include <linux/rcupdate.h>
> +#include <linux/atomic.h>
>
>   enum pid_type
>   {
>


-- 
regards,
-grygorii

  reply	other threads:[~2016-01-15 14:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-15 14:14 [4.1.2-rt1 PATCH] include/linux/pid.h: fix build error Grygorii Strashko
2016-01-15 14:14 ` Grygorii Strashko
2016-01-15 14:17 ` Grygorii Strashko [this message]
2016-01-15 14:17   ` Grygorii Strashko
  -- strict thread matches above, loose matches on Subject: below --
2015-07-21 16:43 Grygorii Strashko
2015-07-22 11:32 ` Sebastian Andrzej Siewior

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=5698FF8D.2030708@ti.com \
    --to=grygorii.strashko@ti.com \
    --cc=Grygorii.Strashko@linaro.org \
    --cc=bigeasy@linutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=nsekhar@ti.com \
    --cc=rmk+kernel@arm.linux.org.uk \
    /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.