summaryrefslogtreecommitdiff
path: root/sys/kern/subr_trap.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2013-03-01 22:03:31 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2013-03-01 22:03:31 +0000
commitf9379dc4118730b9fc82afb5ae62de6b0fd6dd3b (patch)
tree5508497f5efa7add0b4f3b7a364b4d8c9bab98be /sys/kern/subr_trap.c
parent5f61931668e0826d885e501456e11dae34c6732c (diff)
downloadsrc-test2-f9379dc4118730b9fc82afb5ae62de6b0fd6dd3b.tar.gz
src-test2-f9379dc4118730b9fc82afb5ae62de6b0fd6dd3b.zip
Notes
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r--sys/kern/subr_trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index bd06f201d117..1f24e8848cc1 100644
--- a/sys/kern/subr_trap.c
+++ b/sys/kern/subr_trap.c
@@ -158,7 +158,7 @@ userret(struct thread *td, struct trapframe *frame)
("userret: Returning with %d locks held", td->td_locks));
KASSERT((td->td_pflags & TDP_NOFAULTING) == 0,
("userret: Returning with pagefaults disabled"));
- KASSERT((td->td_pflags & TDP_NOSLEEPING) == 0,
+ KASSERT(td->td_no_sleeping == 0,
("userret: Returning with sleep disabled"));
KASSERT(td->td_pinned == 0 || (td->td_pflags & TDP_CALLCHAIN) != 0,
("userret: Returning with with pinned thread"));