diff options
author | pjd <pjd@FreeBSD.org> | 2012-01-22 11:01:36 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2012-01-22 11:01:36 +0000 |
commit | 32d21832e3c3af6cda8e93b3c0faa188700d4333 (patch) | |
tree | a296cc2d3fd382db6940e3d707abe113de70a259 /sys/kern | |
parent | 95f3828ce791470db6af19143f89a9226ee976c0 (diff) | |
download | FreeBSD-src-32d21832e3c3af6cda8e93b3c0faa188700d4333.zip FreeBSD-src-32d21832e3c3af6cda8e93b3c0faa188700d4333.tar.gz |
TDF_* flags should be used with td_flags field and TDP_* flags should be used
with td_pflags field. Correct two places where it was not the case.
Discussed with: kib
MFC after: 1 week
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 61bf595..d6cd3d7 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -467,7 +467,8 @@ proc0_init(void *dummy __unused) td->td_priority = PVM; td->td_base_pri = PVM; td->td_oncpu = 0; - td->td_flags = TDF_INMEM|TDP_KTHREAD; + td->td_flags = TDF_INMEM; + td->td_pflags = TDP_KTHREAD; td->td_cpuset = cpuset_thread0(); prison0.pr_cpuset = cpuset_ref(td->td_cpuset); p->p_peers = 0; |