Author: jhb
Date: Mon Dec 22 20:53:45 2014
New Revision: 276080
URL: https://svnweb.freebsd.org/changeset/base/276080

Log:
  MFC 273991:
  MFamd64: Move extern declaration of _ucodesel and _udatasel to
  <machine/md_var.h>

Modified:
  stable/10/sys/i386/i386/vm_machdep.c
  stable/10/sys/i386/include/md_var.h
  stable/10/sys/i386/linux/linux_sysvec.c
  stable/10/sys/i386/svr4/svr4_machdep.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/i386/i386/vm_machdep.c
==============================================================================
--- stable/10/sys/i386/i386/vm_machdep.c        Mon Dec 22 20:42:36 2014        
(r276079)
+++ stable/10/sys/i386/i386/vm_machdep.c        Mon Dec 22 20:53:45 2014        
(r276080)
@@ -150,8 +150,6 @@ static u_int        sf_buf_alloc_want;
  */
 static struct mtx sf_buf_lock;
 
-extern int     _ucodesel, _udatasel;
-
 /*
  * Finish a fork operation, with process p2 nearly set up.
  * Copy and update the pcb, set up the stack so that the child

Modified: stable/10/sys/i386/include/md_var.h
==============================================================================
--- stable/10/sys/i386/include/md_var.h Mon Dec 22 20:42:36 2014        
(r276079)
+++ stable/10/sys/i386/include/md_var.h Mon Dec 22 20:53:45 2014        
(r276080)
@@ -76,6 +76,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: stable/10/sys/i386/linux/linux_sysvec.c
==============================================================================
--- stable/10/sys/i386/linux/linux_sysvec.c     Mon Dec 22 20:42:36 2014        
(r276079)
+++ stable/10/sys/i386/linux/linux_sysvec.c     Mon Dec 22 20:53:45 2014        
(r276080)
@@ -400,7 +400,6 @@ linux_copyout_strings(struct image_param
 
 
 
-extern int _ucodesel, _udatasel;
 extern unsigned long linux_sznonrtsigcode;
 
 static void

Modified: stable/10/sys/i386/svr4/svr4_machdep.c
==============================================================================
--- stable/10/sys/i386/svr4/svr4_machdep.c      Mon Dec 22 20:42:36 2014        
(r276079)
+++ stable/10/sys/i386/svr4/svr4_machdep.c      Mon Dec 22 20:53:45 2014        
(r276080)
@@ -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);
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to