summaryrefslogtreecommitdiffstats
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 a309c2613a..6e2937b8e7 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);
+}
OpenPOWER on IntegriCloud