Fix mips64 build

Original patch was against FreeBSD 12, and a test compile wasn't run against
head.  md_tls_tcb_offset field was moved from mdthread to mdproc in the
meantime.

MFC after:	1 week
Sponsored by:	Juniper Networks, Inc.
This commit is contained in:
Justin Hibbits 2020-09-25 20:27:36 +00:00
parent ebf7855dcd
commit af399c5bf7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=366171

View File

@ -465,7 +465,7 @@ freebsd32_sysarch(struct thread *td, struct freebsd32_sysarch_args *uap)
*/
if (cpuinfo.userlocal_reg == true) {
mips_wr_userlocal((unsigned long)(uap->parms +
td->td_md.md_tls_tcb_offset));
td->td_proc->p_md.md_tls_tcb_offset));
}
return (0);
case MIPS_GET_TLS: