summaryrefslogtreecommitdiff
path: root/linux/pcmcia-cs/clients
diff options
context:
space:
mode:
Diffstat (limited to 'linux/pcmcia-cs/clients')
-rw-r--r--linux/pcmcia-cs/clients/xirc2ps_cs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/pcmcia-cs/clients/xirc2ps_cs.c b/linux/pcmcia-cs/clients/xirc2ps_cs.c
index 0cf41d3..9db947d 100644
--- a/linux/pcmcia-cs/clients/xirc2ps_cs.c
+++ b/linux/pcmcia-cs/clients/xirc2ps_cs.c
@@ -442,6 +442,10 @@ get_tuple(int fn, client_handle_t handle, tuple_t *tuple, cisparse_t *parse)
static void
busy_loop(u_long len)
{
+#ifdef MACH
+ /* TODO: Is this really what we want? */
+ __udelay(1000000 / HZ * len);
+#else
if (in_interrupt()) {
u_long timeout = jiffies + len;
u_long flags;
@@ -454,6 +458,7 @@ busy_loop(u_long len)
__set_current_state(TASK_UNINTERRUPTIBLE);
schedule_timeout(len);
}
+#endif
}