svn commit: r197108 - in head/sys/i386: include/xen xen
Kip Macy
kmacy at FreeBSD.org
Fri Sep 11 23:41:12 UTC 2009
Author: kmacy
Date: Fri Sep 11 23:41:11 2009
New Revision: 197108
URL: http://svn.freebsd.org/changeset/base/197108
Log:
fix UP compilation
Modified:
head/sys/i386/include/xen/xen-os.h
head/sys/i386/xen/locore.s
Modified: head/sys/i386/include/xen/xen-os.h
==============================================================================
--- head/sys/i386/include/xen/xen-os.h Fri Sep 11 22:56:08 2009 (r197107)
+++ head/sys/i386/include/xen/xen-os.h Fri Sep 11 23:41:11 2009 (r197108)
@@ -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: head/sys/i386/xen/locore.s
==============================================================================
--- head/sys/i386/xen/locore.s Fri Sep 11 22:56:08 2009 (r197107)
+++ head/sys/i386/xen/locore.s Fri Sep 11 23:41:11 2009 (r197108)
@@ -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
More information about the svn-src-all
mailing list