diff options
| author | Zheng Da <zhengda1936@gmail.com> | 2010-07-12 09:47:31 +0200 |
|---|---|---|
| committer | Zheng Da <zhengda1936@gmail.com> | 2010-07-12 09:47:31 +0200 |
| commit | 2b91d7ba805279f3f871f95d5d49c6c1b7d6b879 (patch) | |
| tree | ad76572f3943b1ceacdf571e9a6e3a628f5e3122 /libdde_linux26/lib/src/arch/l4 | |
| parent | 823e9dd9c55a1f34259c5398497439f5663ff2a4 (diff) | |
Use Linux's udelay and ndelay.
It's not very precise to implement udelay and ndelay with loops
in the user space, but should be enough.
Diffstat (limited to 'libdde_linux26/lib/src/arch/l4')
| -rw-r--r-- | libdde_linux26/lib/src/arch/l4/timer.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libdde_linux26/lib/src/arch/l4/timer.c b/libdde_linux26/lib/src/arch/l4/timer.c index 2b657ab4..b85c83a9 100644 --- a/libdde_linux26/lib/src/arch/l4/timer.c +++ b/libdde_linux26/lib/src/arch/l4/timer.c @@ -126,25 +126,6 @@ void msleep(unsigned int msecs) ddekit_thread_msleep(msecs); } - -void __const_udelay(unsigned long xloops) -{ - ddekit_thread_usleep(xloops); -} - - -void __udelay(unsigned long usecs) -{ - ddekit_thread_usleep(usecs); -} - - -void __ndelay(unsigned long nsecs) -{ - ddekit_thread_nsleep(nsecs); -} - - void __init l4dde26_init_timers(void) { ddekit_init_timers(); |
