summaryrefslogtreecommitdiff
path: root/pfinet/sched.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-11-30 17:23:14 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-11-30 17:23:14 +0000
commit7d05e9d6d9d20f95180e8610a2eb651b6d0d9b00 (patch)
tree0650e8df1e54c2133b63c501fa3f8ece9e9a345a /pfinet/sched.c
parent86d5412db6631d81a60f54c66215af3bc97b8a55 (diff)
Formerly sched.c.~13~
Diffstat (limited to 'pfinet/sched.c')
-rw-r--r--pfinet/sched.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/pfinet/sched.c b/pfinet/sched.c
index 94b90ed1..14646e54 100644
--- a/pfinet/sched.c
+++ b/pfinet/sched.c
@@ -27,23 +27,6 @@ struct mutex global_lock = MUTEX_INITIALIZER;
struct task_struct current_contents;
struct task_struct *current = &current_contents;
-/* Call this before doing kernel-level calls; this enforces the
- non-preemptibility of the kernel. */
-void
-start_kernel (struct task_struct *task)
-{
- mutex_lock (&global_lock);
- current = task;
-}
-
-/* Call this when done doing a kernel-level call. */
-void
-end_kernel (void)
-{
- current = 0;
- mutex_unlock (&global_lock);
-}
-
void
interruptible_sleep_on (struct wait_queue **p)
{