From: Jacob Gorm Hansen Subject: smp_processor_id() missing when compiling linux-2.6-xen.hg without SMP Date: Tue, 3 Jan 2006 11:20:57 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 #include +#include #include /*