diff options
Diffstat (limited to 'documentation/dev-manual/dev-manual-kernel-appendix.xml')
-rw-r--r-- | documentation/dev-manual/dev-manual-kernel-appendix.xml | 7 |
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 dc9eb26073..1ac529e6a3 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 | . |