summaryrefslogtreecommitdiff
path: root/linux/dev/kernel
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2011-08-30 02:44:49 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-30 22:42:55 +0200
commitfb5d2aff2401841c5f6631e1371c33a3177bcd95 (patch)
treef627ccf236454d0e606929b72bc6b39ba67982b9 /linux/dev/kernel
parent4267ece6350fb33dc6c07549759d4eb253d6f951 (diff)
Move cdrom_sleep() definition to its original source file
* linux/dev/kernel/sched.c (cdrom_sleep): Move to ... * linux/src/drivers/block/ide-cd.c [MACH]: ... here, make it static. Include <kern/sched_prim.h>.
Diffstat (limited to 'linux/dev/kernel')
-rw-r--r--linux/dev/kernel/sched.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/linux/dev/kernel/sched.c b/linux/dev/kernel/sched.c
index 792c2da..7b5c5e4 100644
--- a/linux/dev/kernel/sched.c
+++ b/linux/dev/kernel/sched.c
@@ -326,16 +326,6 @@ schedule (void)
}
void
-cdrom_sleep (int t)
-{
- int xxx;
-
- assert_wait ((event_t) &xxx, TRUE);
- thread_set_timeout (t);
- schedule ();
-}
-
-void
linux_sched_init (void)
{
/*