[RFC][PATCH RT 0.5/6] locallock: Add include of percpu.h

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

 



[ I cut and pasted the series file but missed this patch to start ]

locallock.h uses per cpu variables, and if it is included by code
that does not include percpu.h, the compiler complains.

Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

Index: linux-rt.git/include/linux/locallock.h
===================================================================
--- linux-rt.git.orig/include/linux/locallock.h
+++ linux-rt.git/include/linux/locallock.h
@@ -1,6 +1,7 @@
 #ifndef _LINUX_LOCALLOCK_H
 #define _LINUX_LOCALLOCK_H
 
+#include <linux/percpu.h>
 #include <linux/spinlock.h>
 
 #ifdef CONFIG_PREEMPT_RT_BASE


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