summaryrefslogtreecommitdiff
path: root/linux/src/drivers
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-10-08 10:02:45 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:42 +0200
commit846a52b57636580e3968616a6c6195cc595c24a0 (patch)
treefef4929acf4a213ab40fddc4ae6330e495eeabd1 /linux/src/drivers
parentb3e1f60908fd432ff978adf4a787e7940c53c0bf (diff)
2006-10-08 Thomas Schwinge <tschwinge@gnu.org>
* linux/dev/drivers/block/ide-cd.c: Remove file. * linux/src/drivers/block/ide-cd.c (cdrom_sleep): Don't define function `#ifndef MACH'.
Diffstat (limited to 'linux/src/drivers')
-rw-r--r--linux/src/drivers/block/ide-cd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/src/drivers/block/ide-cd.c b/linux/src/drivers/block/ide-cd.c
index 825d942..17f60b9 100644
--- a/linux/src/drivers/block/ide-cd.c
+++ b/linux/src/drivers/block/ide-cd.c
@@ -1380,6 +1380,7 @@ static void cdrom_do_packet_command (ide_drive_t *drive)
}
+#ifndef MACH
/* Sleep for TIME jiffies.
Not to be called from an interrupt handler. */
static
@@ -1389,6 +1390,7 @@ void cdrom_sleep (int time)
current->timeout = jiffies + time;
schedule ();
}
+#endif
static
int cdrom_queue_packet_command (ide_drive_t *drive, struct packet_command *pc)