aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2004-09-15 03:51:51 +0000
committerJulian Elischer <julian@FreeBSD.org>2004-09-15 03:51:51 +0000
commite8807f22f9383f9a5f3a86fb6dbe77efb5beade6 (patch)
treed174a06d4c81d6c17dd0405ada9282ea51176060 /sys/kern
parent5a71a6fe52b4de7df7f34c3d51db613ef69a49db (diff)
downloadsrc-e8807f22f9383f9a5f3a86fb6dbe77efb5beade6.tar.gz
src-e8807f22f9383f9a5f3a86fb6dbe77efb5beade6.zip
Oops accidentally removed #ifdef SCHED_4BSD
as part of another commit This function is not yet used in ULE
Notes
Notes: svn path=/head/; revision=135255
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_switch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/kern_switch.c b/sys/kern/kern_switch.c
index 786c22bff0a1..7c84c6478911 100644
--- a/sys/kern/kern_switch.c
+++ b/sys/kern/kern_switch.c
@@ -224,6 +224,7 @@ slot_fill(struct ksegrp *kg)
}
}
+#ifdef SCHED_4BSD
/*
* Remove a thread from its KSEGRP's run queue.
* This in turn may remove it from a KSE if it was already assigned
@@ -273,6 +274,7 @@ remrunqueue(struct thread *td)
/* slot_fill(kg); */ /* will replace it with another */
}
}
+#endif
/*
* Change the priority of a thread that is on the run queue.