summaryrefslogtreecommitdiff
path: root/lib/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/time.c')
-rw-r--r--lib/time.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/time.c b/lib/time.c
index a309c26..6e2937b 100644
--- a/lib/time.c
+++ b/lib/time.c
@@ -41,3 +41,9 @@ void udelay(unsigned long usec)
usec -= kv;
} while(usec);
}
+
+void mdelay(unsigned long msec)
+{
+ while (msec--)
+ udelay(1000);
+}