WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] smp_processor_id() missing when compiling linux-2.6-xen.hg w

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] smp_processor_id() missing when compiling linux-2.6-xen.hg without SMP
From: Jacob Gorm Hansen <jacobg@xxxxxxx>
Date: Tue, 3 Jan 2006 11:20:57 +0100
Delivery-date: Tue, 03 Jan 2006 10:26:00 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=JVHI+NQs17KIh+wzZC7Hhdvtmajf6aHUQZsm5ZXdkzSWpvhTmt5u8n+kf1yX1dH3Kq6/Cts5bTqB8XLQslLyuG4IYyW09zDX5iGjXnN8q0oDNWwAOJ+cGEYYAZeLwoEuicxAY9Lxk3hXQ2QuxxF721EuXyWUybFe1re0B5PEfaA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
hi,

I found I needed the patch to arch/i386/kernel/i8237.c below in order
to compile linux-2.6-xen.hg without SMP, or I smp_processor_id() would
be undefined. I am not sure if this is the correct way to fix the
problem though.

best regards,
Jacob

$ hg diff arch/i386/kernel/i8237.c
diff -r e0881feac5b9 arch/i386/kernel/i8237.c
--- a/arch/i386/kernel/i8237.c  Thu Dec 22 17:28:39 2005
+++ b/arch/i386/kernel/i8237.c  Tue Jan  3 11:20:22 2006
@@ -7,6 +7,7 @@
 #include <linux/init.h>
 #include <linux/sysdev.h>

+#include <linux/smp.h>
 #include <asm/dma.h>

 /*

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>