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:
parent
ebf7855dcd
commit
af399c5bf7
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user