lkml.org 
[lkml]   [2009]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Linux 2.6.29-rc1
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


\
 
 \ /
  Last update: 2009-01-11 13:27    [W:0.152 / U:18.876 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site