aboutsummaryrefslogtreecommitdiff
path: root/sys/mips/include
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2020-06-12 21:21:18 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2020-06-12 21:21:18 +0000
commit822d2d6ac94fd32049de39edfe9ac7d596b4a09b (patch)
tree294621a1aad1d7a742924d04c58f2163f535974c /sys/mips/include
parent6fba90f20187a2ebaaa681648e630758b804a5b9 (diff)
Notes
Diffstat (limited to 'sys/mips/include')
-rw-r--r--sys/mips/include/proc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/mips/include/proc.h b/sys/mips/include/proc.h
index e35e0622513a..696854f40992 100644
--- a/sys/mips/include/proc.h
+++ b/sys/mips/include/proc.h
@@ -64,7 +64,6 @@ struct mdthread {
int md_pc_count; /* performance counter */
int md_pc_spill; /* performance counter spill */
void *md_tls;
- size_t md_tls_tcb_offset; /* TCB offset */
#ifdef CPU_CNMIPS
struct octeon_cop2_state *md_cop2; /* kernel context */
struct octeon_cop2_state *md_ucop2; /* userland context */
@@ -79,8 +78,7 @@ struct mdthread {
#define MDTD_COP2USED 0x0002 /* Process used the COP2 */
struct mdproc {
- /* Avoid empty structs because they are undefined behavior. */
- long md_spare;
+ size_t md_tls_tcb_offset; /* TCB offset */
};
struct syscall_args {