diff options
author | Arjan van de Ven <[email protected]> | 2012-01-30 20:23:30 -0800 |
---|---|---|
committer | John Stultz <[email protected]> | 2012-02-01 18:39:46 -0800 |
commit | b519508298e0292e1771eecf14aaf67755adc39d (patch) | |
tree | 31fd0675057bb14e3dcff26d585fd512614b181b /net/lapb/lapb_timer.c | |
parent | 12d6d41276def096cb3f7dc36f438db9ed6a0a8d (diff) |
clocksource: Load the ACPI PM clocksource asynchronously
The ACPI clocksource takes quite some time to initialize,
and this increases the boot time of the kernel for a
double digit percentage. This while almost all modern
systems will be using the HPET already anyway.
This patch turns the clocksource loading into an asynchronous
operation; which means it won't hold up the boot while
still becoming available normally.
To make this work well, an udelay() had to be turned into an
usleep_range() so that on UP systems, we yield the CPU to
regular boot tasks instead of spinning.
CC: John Stultz <[email protected]>
CC: Thomas Gleixner <[email protected]>
CC: Len Brown <[email protected]>
Signed-off-by: Arjan van de Ven <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions