summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2012-04-27 14:06:37 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-01 20:00:34 (GMT)
commit5a1fb95a8dde9f138948de604c2935ce3229e608 (patch)
treea0e5e7fe63c9919d3385884c17bb7da91711a82a /documentation
parent22b9983cc77881255cc0f136a826ae45561b9b8f (diff)
downloadpoky-5a1fb95a8dde9f138948de604c2935ce3229e608.tar.gz
documentation/dev-manual/dev-manual-kernel-appendix.xml: updated cpuinit
Looks like calibrate_delay(void) changed in the example. Updated to the most recent code. (From yocto-docs rev: 402af7d379b0df5e97b1863aa627aad98ceb5e6f) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/dev-manual/dev-manual-kernel-appendix.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/documentation/dev-manual/dev-manual-kernel-appendix.xml b/documentation/dev-manual/dev-manual-kernel-appendix.xml
index dc9eb26..1ac529e 100644
--- a/documentation/dev-manual/dev-manual-kernel-appendix.xml
+++ b/documentation/dev-manual/dev-manual-kernel-appendix.xml
@@ -308,10 +308,11 @@
308 <literallayout class='monospaced'> 308 <literallayout class='monospaced'>
309 void __cpuinit calibrate_delay(void) 309 void __cpuinit calibrate_delay(void)
310 { 310 {
311 unsigned long lpj; 311 unsigned long lpj;
312 static bool printed; 312 static bool printed;
313 int this_cpu = smp_processor_id();
313 314
314 if (preset_lpj) { 315 if (per_cpu(cpu_loops_per_jiffy, this_cpu)) {
315 . 316 .
316 . 317 .
317 . 318 .