Re: Linux 2.6.29-rc1

Petr Titera
2009-01-11T12:24:17Z

Unfortunatelly it cannot be built without SMP support. This patch seems
to fix it:

diff --git a/include/linux/smp.h b/include/linux/smp.h
index b824669..fd51bb9 100644
--- a/include/linux/smp.h
+++ b/include/linux/smp.h
@@ -11,6 +11,8 @@
#include <linux/list.h>
#include <linux/cpumask.h>

+#include <asm/smp.h>
+
extern void cpu_idle(void);

struct call_single_data {
@@ -30,7 +32,6 @@ extern unsigned int total_cpus;
#include <linux/kernel.h>
#include <linux/compiler.h>
#include <linux/thread_info.h>
-#include <asm/smp.h>

/*
* main cross-CPU interfaces, handles INIT, TLB flush, STOP, etc.

Petr Titera