Date: Fri, 11 Sep 2009 23:41:11 +0000 (UTC) From: Kip Macy <kmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r197108 - in head/sys/i386: include/xen xen Message-ID: <200909112341.n8BNfBle066936@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909112341.n8BNfBle066936>