summaryrefslogtreecommitdiff
path: root/lib_sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib_sh')
-rw-r--r--lib_sh/time.c2
-rw-r--r--lib_sh/time_sh2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib_sh/time.c b/lib_sh/time.c
index 52dbcd0611..9a8f89aef6 100644
--- a/lib_sh/time.c
+++ b/lib_sh/time.c
@@ -105,7 +105,7 @@ unsigned long long get_ticks (void)
return 0 - readl(TCNT0);
}
-void udelay (unsigned long usec)
+void __udelay (unsigned long usec)
{
unsigned long long tmp;
ulong tmo;
diff --git a/lib_sh/time_sh2.c b/lib_sh/time_sh2.c
index 5c6c9d4384..789b46f0e0 100644
--- a/lib_sh/time_sh2.c
+++ b/lib_sh/time_sh2.c
@@ -103,7 +103,7 @@ void reset_timer(void)
cmt_timer_start(0);
}
-void udelay(unsigned long usec)
+void __udelay(unsigned long usec)
{
unsigned long end = get_usec() + usec;