aboutsummaryrefslogtreecommitdiff
path: root/sys/mips/include
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2019-09-03 20:23:58 +0000
committerKyle Evans <kevans@FreeBSD.org>2019-09-03 20:23:58 +0000
commit3c6774c077963d940b163fab90b4946aa2a817d1 (patch)
treed68ae42d9243171be8613a3c0c05e546896da871 /sys/mips/include
parent1bdb9589d444778137fbcee33a93b6213036f901 (diff)
Notes
Diffstat (limited to 'sys/mips/include')
-rw-r--r--sys/mips/include/proc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/mips/include/proc.h b/sys/mips/include/proc.h
index e340d8b01f01..e35e0622513a 100644
--- a/sys/mips/include/proc.h
+++ b/sys/mips/include/proc.h
@@ -79,7 +79,8 @@ struct mdthread {
#define MDTD_COP2USED 0x0002 /* Process used the COP2 */
struct mdproc {
- /* empty */
+ /* Avoid empty structs because they are undefined behavior. */
+ long md_spare;
};
struct syscall_args {