ARM: Fix multiplication error in udelay
authorAli Saidi <Ali.Saidi@ARM.com>
Mon, 4 Apr 2011 16:42:23 +0000 (11:42 -0500)
committerAli Saidi <Ali.Saidi@ARM.com>
Mon, 4 Apr 2011 16:42:23 +0000 (11:42 -0500)
src/kern/linux/events.cc

index 75c2b6f7f39c2a3cbd77b623ec3fe49c1fa1451f..651dae3d695e75a8f96be289608316212c550242 100644 (file)
@@ -82,9 +82,6 @@ UDelayEvent::process(ThreadContext *tc)
 
     time *= argMultToNs;
 
-    // Convert ns to ticks
-    time *= SimClock::Int::ns;
-
     SkipFuncEvent::process(tc);
 
     PseudoInst::quiesceNs(tc, time);