summaryrefslogtreecommitdiff
path: root/linux/src/drivers
diff options
context:
space:
mode:
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)