Re: [4.1.2-rt1] build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Grygorii Strashko | 2015-07-17 19:47:30 [+0300]:

>  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);
>   ^
this is one of the patches I've thrown away because it looked not
needed. On vanilla this header gets sucked in via
include/linux/spinlock.h but on -RT we don't need it and we get this.

>The below diff fixes an issue for me:
>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
> {

If you manage so send me this as  a proper patch then I could include it
into the patchset.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux