Cross a T and dot an I:
o Fix awkward use of braces in combination with mis-indentation. A mistake, that happened to yield the right behaviour? o Fix typo in comment. No functional change. Approved by: re (blanket)
This commit is contained in:
parent
d50c56183e
commit
5ce36fdb77
@ -178,13 +178,14 @@ bare_timebase_freq(platform_t plat, struct cpuref *cpuref)
|
||||
phandle_t cpus, child;
|
||||
pcell_t freq;
|
||||
|
||||
if (bootinfo != NULL)
|
||||
if (bootinfo != NULL) {
|
||||
if (bootinfo[0] == 1) {
|
||||
/* Backward compatibility. See 8-STABLE. */
|
||||
ticks = bootinfo[3] >> 3;
|
||||
} else {
|
||||
/* Compatbility with Juniper's loader. */
|
||||
/* Compatibility with Juniper's loader. */
|
||||
ticks = bootinfo[5] >> 3;
|
||||
}
|
||||
} else
|
||||
ticks = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user