From 7d05e9d6d9d20f95180e8610a2eb651b6d0d9b00 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 30 Nov 1995 17:23:14 +0000 Subject: Formerly sched.c.~13~ --- pfinet/sched.c | 17 ----------------- 1 file changed, 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 = ¤t_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) { -- cgit v1.2.3