Guillem Jover, le Thu 25 Aug 2011 15:22:38 +0200, a écrit :
> * linux/dev/kernel/sched.c (cdrom_sleep): Move to ...
> * linux/src/drivers/block/ide-cd.c: ... here, replace [!MACH]
> definition, and remove conditionals.

I disagree.

>  void
> -cdrom_sleep (int t)
> -{
> -  int xxx;
> -
> -  assert_wait ((event_t) &xxx, TRUE);
> -  thread_set_timeout (t);
> -  schedule ();
> -}

This is really mach-specific glue code, so it should remain there or in
glue/

Samuel

Reply via email to