[RFC][PATCH RT 0.5/6] locallock: Add include of percpu.h
From: Steven Rostedt
Date: Wed Jun 26 2013 - 15:43:46 EST
[ 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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/