diff options
author | jb <jb@FreeBSD.org> | 2006-10-29 21:02:22 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 2006-10-29 21:02:22 +0000 |
commit | beb5cb287febe406479d9b3ab785483aee748496 (patch) | |
tree | 4282e1c15f0fa5cb28dc68a1d844e519c4a6ed2b /sys | |
parent | 24075fc0b587672ff2d978f2e57aece2b6d3c658 (diff) | |
download | FreeBSD-src-beb5cb287febe406479d9b3ab785483aee748496.zip FreeBSD-src-beb5cb287febe406479d9b3ab785483aee748496.tar.gz |
Add the padding fields to 'struct proc' for the !KSE case that I missed.
Noticed by: pjd
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/proc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 17926cc..5716a4a 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -598,6 +598,8 @@ struct proc { LIST_ENTRY(proc) p_list; /* (d) List of all processes. */ #ifdef KSE TAILQ_HEAD(, ksegrp) p_ksegrps; /* (c)(kg_ksegrp) All KSEGs. */ +#else + TAILQ_HEAD(, thread) was_p_ksegrps; /* Temporary padding. */ #endif TAILQ_HEAD(, thread) p_threads; /* (j)(td_plist) Threads. (shortcut) */ TAILQ_HEAD(, thread) p_suspended; /* (td_runq) Suspended threads. */ @@ -683,6 +685,8 @@ struct proc { int p_numthreads; /* (j) Number of threads. */ #ifdef KSE int p_numksegrps; /* (c) Number of ksegrps. */ +#else + int was_p_numksegrps; /* Temporary padding. */ #endif struct mdproc p_md; /* Any machine-dependent fields. */ struct callout p_itcallout; /* (h + c) Interval timer callout. */ |