From owner-svn-src-head@FreeBSD.ORG Fri Sep 11 23:41:12 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08948106566B; Fri, 11 Sep 2009 23:41:12 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id EC4288FC08; Fri, 11 Sep 2009 23:41:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n8BNfBxX066939; Fri, 11 Sep 2009 23:41:11 GMT (envelope-from kmacy@svn.freebsd.org) Received: (from kmacy@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n8BNfBle066936; Fri, 11 Sep 2009 23:41:11 GMT (envelope-from kmacy@svn.freebsd.org) Message-Id: <200909112341.n8BNfBle066936@svn.freebsd.org> From: Kip Macy Date: Fri, 11 Sep 2009 23:41:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r197108 - in head/sys/i386: include/xen xen X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 23:41:12 -0000 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 #endif +extern int gdtset; #ifdef SMP #include /* XXX for pcpu.h */ #include /* 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