MFamd64: Move extern declaration of _ucodesel and _udatasel to

<machine/md_var.h>
This commit is contained in:
John Baldwin 2014-11-02 21:40:32 +00:00
parent 8b5200e9d9
commit 716718932f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273991
4 changed files with 2 additions and 3 deletions

View File

@ -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.

View File

@ -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;

View File

@ -400,7 +400,6 @@ linux_copyout_strings(struct image_params *imgp)
extern int _ucodesel, _udatasel;
extern unsigned long linux_sznonrtsigcode;
static void

View File

@ -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);