summaryrefslogtreecommitdiff
path: root/include/asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm.h')
-rw-r--r--include/asm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm.h b/include/asm.h
index 03b06557..f5118b23 100644
--- a/include/asm.h
+++ b/include/asm.h
@@ -40,11 +40,11 @@ static inline void wait_for_debug(void)
{
uint64_t a, b;
int x;
- extern void msleep(unsigned long msecs);
+ extern void usleep(unsigned long usecs);
a = read_counter();
for (x = 0; x < 1000; x++) {
- msleep(1000);
+ usleep(1000);
b = read_counter();
if (a != b)
break;