diff options
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_sched.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_sched.c b/sys/kern/kern_sched.c index 51b4c59f8ad..73fee36b655 100644 --- a/sys/kern/kern_sched.c +++ b/sys/kern/kern_sched.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sched.c,v 1.6 2008/06/12 06:58:39 deraadt Exp $ */ +/* $OpenBSD: kern_sched.c,v 1.7 2008/11/06 19:19:04 deraadt Exp $ */ /* * Copyright (c) 2007 Artur Grabowski <art@openbsd.org> * @@ -155,6 +155,7 @@ sched_exit(struct proc *p) idle = spc->spc_idleproc; idle->p_stat = SRUN; cpu_switchto(NULL, idle); + panic("cpu_switchto returned); } /* |