summaryrefslogtreecommitdiffstats
path: root/common/clock.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:21 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:21 +0200
commitdd243ada8a1e911b6052ceb82f2eed71d2257a2f (patch)
tree626cd1b4f06fdd3b0ffd9a068cbe80fd62a5a57d /common/clock.c
parent7259ab1f668a1aed92d0cf1d973052b747bf3efe (diff)
downloadbarebox-dd243ada8a1e911b6052ceb82f2eed71d2257a2f.tar.gz
svn_rev_083
mx31/move_include_asm-arm_arch-arm1136_to_arch-omap24xx.diff
Diffstat (limited to 'common/clock.c')
-rw-r--r--common/clock.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/common/clock.c b/common/clock.c
index d500e5c..1383f8b 100644
--- a/common/clock.c
+++ b/common/clock.c
@@ -57,8 +57,8 @@ uint32_t clocksource_hz2mult(uint32_t hz, uint32_t shift_constant)
int is_timeout(uint64_t start_ns, uint64_t time_offset_ns)
{
- if (ctrlc ())
- return -1;
+// if (ctrlc ())
+// return -1;
if (start_ns + time_offset_ns < get_time_ns())
return 1;
@@ -70,9 +70,9 @@ int udelay(unsigned long usecs)
{
uint64_t start = get_time_ns();
- while(!is_timeout(start, usecs * 1000))
- if (ctrlc ())
- return -1;
+ while(!is_timeout(start, usecs * 1000));
+// if (ctrlc ())
+// return -1;
return 0;
}