summaryrefslogtreecommitdiff
path: root/sys/kern/kern_switch.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2002-02-26 20:33:41 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2002-02-26 20:33:41 +0000
commit181df8c9d4825b38a19435ab8fc3fd9ecba27630 (patch)
tree7ede0e88befde8b862a573c1bafc540a03a87d83 /sys/kern/kern_switch.c
parent6f4ded3a73ea139b44bc4381e0d2e8ebd2c542e3 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_switch.c')
-rw-r--r--sys/kern/kern_switch.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/kern/kern_switch.c b/sys/kern/kern_switch.c
index 44c9e5dacd3b..bd9c4bf39b2f 100644
--- a/sys/kern/kern_switch.c
+++ b/sys/kern/kern_switch.c
@@ -69,11 +69,6 @@ setrunqueue(struct thread *td)
runq_add(&runq, td->td_kse);
}
-/*
- * XXX temporary until these routines are moved fully into MD areas
- */
-#ifndef MACHINE_CRITICAL_ENTER
-
/* Critical sections that prevent preemption. */
void
critical_enter(void)
@@ -99,8 +94,6 @@ critical_exit(void)
td->td_critnest--;
}
-#endif
-
/*
* Clear the status bit of the queue corresponding to priority level pri,
* indicating that it is empty.