[lkml]   [2000]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Exporting calibrate_delay()
> Is there a specific reason why calibrate_delay() (in init/main.c)
> needs to be an __init function? I need to recalibrate the delay
> loop for a CPU that supports multiple clock speeds (the Intel
> StrongARM SA1100), so I'd rather use this code instead of
> replicating it.

Do you actually need to rerun the entire loop, and for that matter if so
have you checked all the code paths running while you are recalibrating dont
use udelay ?

If you know the CPU clock ratio when power saving you can just do the maths

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.057 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site