summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2006-11-12 03:18:22 +0000
committerDavid Xu <davidxu@FreeBSD.org>2006-11-12 03:18:22 +0000
commit812fb4a89fc46249c08964142d5f873c51504f04 (patch)
tree9cc22d03c8615df20a98909e9da1c3389aa3109b
parent9d6220e6225a0ce91671e103674b44ea0c334cf2 (diff)
Notes
-rw-r--r--sys/kern/kern_idle.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/kern/kern_idle.c b/sys/kern/kern_idle.c
index 210ffd3ba24c..f66056a26aa4 100644
--- a/sys/kern/kern_idle.c
+++ b/sys/kern/kern_idle.c
@@ -122,12 +122,7 @@ idle_proc(void *dummy)
#ifdef SMP
idle_cpus_mask &= ~mycpu;
#endif
-#ifdef KSE
mi_switch(SW_VOL, NULL);
-#else
- if ((td = choosethread()) != curthread)
- mi_switch(SW_VOL, td);
-#endif
#ifdef SMP
idle_cpus_mask |= mycpu;
#endif