From owner-svn-src-all@FreeBSD.ORG Sun Nov 2 21:40:34 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7B1A466B; Sun, 2 Nov 2014 21:40:34 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DC76944; Sun, 2 Nov 2014 21:40:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sA2LeYiN053402; Sun, 2 Nov 2014 21:40:34 GMT (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sA2LeX2a053396; Sun, 2 Nov 2014 21:40:33 GMT (envelope-from jhb@FreeBSD.org) Message-Id: <201411022140.sA2LeX2a053396@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jhb set sender to jhb@FreeBSD.org using -f From: John Baldwin Date: Sun, 2 Nov 2014 21:40:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273991 - in head/sys/i386: i386 include linux svr4 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2014 21:40:34 -0000 Author: jhb Date: Sun Nov 2 21:40:32 2014 New Revision: 273991 URL: https://svnweb.freebsd.org/changeset/base/273991 Log: MFamd64: Move extern declaration of _ucodesel and _udatasel to Modified: head/sys/i386/i386/vm_machdep.c head/sys/i386/include/md_var.h head/sys/i386/linux/linux_sysvec.c head/sys/i386/svr4/svr4_machdep.c Modified: head/sys/i386/i386/vm_machdep.c ============================================================================== --- head/sys/i386/i386/vm_machdep.c Sun Nov 2 21:36:40 2014 (r273990) +++ head/sys/i386/i386/vm_machdep.c Sun Nov 2 21:40:32 2014 (r273991) @@ -118,7 +118,6 @@ static u_int cpu_reset_proxyid; static volatile u_int cpu_reset_proxy_active; #endif -extern int _ucodesel, _udatasel; /* * Finish a fork operation, with process p2 nearly set up. Modified: head/sys/i386/include/md_var.h ============================================================================== --- head/sys/i386/include/md_var.h Sun Nov 2 21:36:40 2014 (r273990) +++ head/sys/i386/include/md_var.h Sun Nov 2 21:40:32 2014 (r273991) @@ -78,6 +78,8 @@ extern int szosigcode; extern uint32_t *vm_page_dump; extern int vm_page_dump_size; extern int workaround_erratum383; +extern int _udatasel; +extern int _ucodesel; typedef void alias_for_inthand_t(u_int cs, u_int ef, u_int esp, u_int ss); struct thread; Modified: head/sys/i386/linux/linux_sysvec.c ============================================================================== --- head/sys/i386/linux/linux_sysvec.c Sun Nov 2 21:36:40 2014 (r273990) +++ head/sys/i386/linux/linux_sysvec.c Sun Nov 2 21:40:32 2014 (r273991) @@ -400,7 +400,6 @@ linux_copyout_strings(struct image_param -extern int _ucodesel, _udatasel; extern unsigned long linux_sznonrtsigcode; static void Modified: head/sys/i386/svr4/svr4_machdep.c ============================================================================== --- head/sys/i386/svr4/svr4_machdep.c Sun Nov 2 21:36:40 2014 (r273990) +++ head/sys/i386/svr4/svr4_machdep.c Sun Nov 2 21:40:32 2014 (r273991) @@ -65,7 +65,6 @@ __FBSDID("$FreeBSD$"); extern int svr4_szsigcode; extern char svr4_sigcode[]; -extern int _udatasel, _ucodesel; static void svr4_getsiginfo(union svr4_siginfo *, int, u_long, caddr_t);