Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2009 01:55:34 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r199774 - in stable/8/sys/i386: include/xen xen
Message-ID:  <200911250155.nAP1tYW0035737@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kmacy
Date: Wed Nov 25 01:55:34 2009
New Revision: 199774
URL: http://svn.freebsd.org/changeset/base/199774

Log:
  fix UP compilation

Modified:
  stable/8/sys/i386/include/xen/xen-os.h
  stable/8/sys/i386/xen/locore.s

Modified: stable/8/sys/i386/include/xen/xen-os.h
==============================================================================
--- stable/8/sys/i386/include/xen/xen-os.h	Wed Nov 25 01:52:36 2009	(r199773)
+++ stable/8/sys/i386/include/xen/xen-os.h	Wed Nov 25 01:55:34 2009	(r199774)
@@ -34,10 +34,10 @@ void force_evtchn_callback(void);
 #include <vm/pmap.h>
 #endif
 
+extern int gdtset;
 #ifdef SMP
 #include <sys/time.h> /* XXX for pcpu.h */
 #include <sys/pcpu.h> /* XXX for PCPU_GET */
-extern int gdtset;
 static inline int 
 smp_processor_id(void)  
 {

Modified: stable/8/sys/i386/xen/locore.s
==============================================================================
--- stable/8/sys/i386/xen/locore.s	Wed Nov 25 01:52:36 2009	(r199773)
+++ stable/8/sys/i386/xen/locore.s	Wed Nov 25 01:55:34 2009	(r199774)
@@ -148,9 +148,7 @@ IdlePDPT:	.long	0		/* phys addr of kerne
 	.globl	KPTphys
 #endif
 KPTphys:	.long	0		/* phys addr of kernel page tables */
-#ifdef SMP
 	.globl	gdtset
-#endif
 gdtset:		.long	0		/* GDT is valid */	
 
 	.globl	proc0kstack



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911250155.nAP1tYW0035737>