ARM: Detect and skip udelay() functions in linux kernel.
authorAli Saidi <Ali.Saidi@ARM.com>
Fri, 18 Mar 2011 00:20:20 +0000 (19:20 -0500)
committerAli Saidi <Ali.Saidi@ARM.com>
Fri, 18 Mar 2011 00:20:20 +0000 (19:20 -0500)
commitb78be240cf1c1269ed83548bf71095193487ca33
tree6ee8630c22e3c72291bd9fb647a91d70efed332d
parentfe3d790ac8da41e8a0b9af93510cd874585c37e7
ARM: Detect and skip udelay() functions in linux kernel.

This change speeds up booting, especially in MP cases, by not executing
udelay() on the core but instead skipping ahead tha amount of time that is being
delayed.
src/arch/arm/linux/system.cc
src/arch/arm/linux/system.hh
src/cpu/simple/atomic.cc
src/cpu/simple/timing.cc
src/kern/linux/events.cc
src/kern/linux/events.hh