Skip to contentSkip to conversation

Missing include when compiling an ipiped Linux kernel with CONFIG_PREEMPT for ARM

PATCH Applied Sebastian Smolorz 2 participants 2 messages Nov 10, 2006 – Nov 11, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Missing include when compiling an ipiped Linux kernel with CONFIG_PREEMPT for ARM

Hi,

here comes a fix for I-pipe for ARM. Without it the kernel refuses to compile when configured with CONFIG_PREEMPT.

Sebastian

include/asm-arm/ipipe.h +2 -1
@@ -34,6 +34,7 @@
 #include <asm/irq.h>
 #include <asm/bitops.h>
 #include <asm/mach/irq.h>
+#include <asm/percpu.h>
 
 #define IPIPE_ARCH_STRING	"1.5-02"
 #define IPIPE_MAJOR_NUMBER	1
@@ -51,7 +52,7 @@
 #endif	/* CONFIG_SMP */
 
 /* Note that we disable the interrupts around context_switch,
- * or we'll get into severe problems when scheduling Xenomaï
+ * or we'll get into severe problems when scheduling Xenomai's
  * user space real time threads.
  * This can however cause high latencies, see for example:
  * 	http://www.ussg.iu.edu/hypermail/linux/kernel/0405.2/1388.html