Messages in this thread |  | | From | Russell King <> | Subject | Re: Exporting calibrate_delay() | Date | Fri, 25 Aug 2000 10:24:07 +0100 (BST) |
| |
Alan Cox writes: > > driver loads so I can just plug in a new value for loops_per_sec > > at a clock speed change. If I disable all interrupts while > > recalibrating it shouldn't hurt udelay, right? > > That sounds right
Except for one subtle point - what are we calibrating the delay loop against? The timer interrupt!
Therefore, its not possible to recalibrate with interrupts disabled. _____ |_____| ------------------------------------------------- ---+---+- | | Russell King rmk@arm.linux.org.uk --- --- | | | | http://www.arm.linux.org.uk/personal/aboutme.html / / | | +-+-+ --- -+- / | THE developer of ARM Linux |+| /|\ / | | | --- | +-+-+ ------------------------------------------------- /\\\ | - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |