summaryrefslogtreecommitdiff
path: root/sys/sys/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/proc.h')
-rw-r--r--sys/sys/proc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index 03a81423ea94..c147415a1562 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -163,6 +163,7 @@ struct thread;
struct trapframe;
struct turnstile;
struct mqueue_notifier;
+struct cpuset;
/*
* Here we define the two structures used for process information.
@@ -208,7 +209,7 @@ struct thread {
/* The two queues below should someday be merged. */
TAILQ_ENTRY(thread) td_slpq; /* (t) Sleep queue. */
TAILQ_ENTRY(thread) td_lockq; /* (t) Lock queue. */
-
+ struct cpuset *td_cpuset; /* (t) CPU affinity mask. */
struct seltd *td_sel; /* Select queue/channel. */
struct sleepqueue *td_sleepqueue; /* (k) Associated sleep queue. */
struct turnstile *td_turnstile; /* (k) Associated turnstile. */