Date: Fri, 25 Sep 2020 20:27:37 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r366171 - head/sys/mips/mips Message-ID: <202009252027.08PKRbUY079300@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Fri Sep 25 20:27:36 2020 New Revision: 366171 URL: https://svnweb.freebsd.org/changeset/base/366171 Log: 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. Modified: head/sys/mips/mips/freebsd32_machdep.c Modified: head/sys/mips/mips/freebsd32_machdep.c ============================================================================== --- head/sys/mips/mips/freebsd32_machdep.c Fri Sep 25 19:11:21 2020 (r366170) +++ head/sys/mips/mips/freebsd32_machdep.c Fri Sep 25 20:27:36 2020 (r366171) @@ -465,7 +465,7 @@ freebsd32_sysarch(struct thread *td, struct freebsd32_ */ 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009252027.08PKRbUY079300>