summaryrefslogtreecommitdiff
path: root/payloads/libpayload/i386
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/i386')
-rw-r--r--payloads/libpayload/i386/timer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/payloads/libpayload/i386/timer.c b/payloads/libpayload/i386/timer.c
index e9416550cf..789bf0b150 100644
--- a/payloads/libpayload/i386/timer.c
+++ b/payloads/libpayload/i386/timer.c
@@ -77,6 +77,11 @@ void ndelay(unsigned int n)
_delay(n * cpu_khz / 1000000);
}
+void udelay(unsigned int n)
+{
+ _delay(n * cpu_khz / 1000);
+}
+
void mdelay(unsigned int m)
{
_delay(m * cpu_khz);