summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-mpc5121.c
diff options
context:
space:
mode:
authorSameer Nanda <snanda@chromium.org>2011-07-25 17:13:29 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-25 20:57:17 -0700
commit7afe1845dd1e7c90828c942daed7e57ffa7c38d6 (patch)
treedabdded21b9d03cf04719b684e393929378f6c8d /drivers/rtc/rtc-mpc5121.c
parent469dded1839105cfbfc265376e23e24dbc48d2a7 (diff)
init: skip calibration delay if previously done
For each CPU, do the calibration delay only once. For subsequent calls, use the cached per-CPU value of loops_per_jiffy. This saves about 200ms of resume time on dual core Intel Atom N5xx based systems. This helps bring down the kernel resume time on such systems from about 500ms to about 300ms. [akpm@linux-foundation.org: make cpu_loops_per_jiffy static] [akpm@linux-foundation.org: clean up message text] [akpm@linux-foundation.org: fix things up after upstream rmk changes] Signed-off-by: Sameer Nanda <snanda@chromium.org> Cc: Phil Carmody <ext-phil.2.carmody@nokia.com> Cc: Andrew Worsley <amworsley@gmail.com> Cc: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-mpc5121.c')
0 files changed, 0 insertions, 0 deletions