summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2011-08-02 23:49:23 +0000
committermarcel <marcel@FreeBSD.org>2011-08-02 23:49:23 +0000
commit96a3bbaa0704528a7a819c6e714c20b5c9b60f95 (patch)
treefcc9f6f505060977868d086bc1c1c712f0f5cdf8 /sys/powerpc
parentb6f12f1f4a85b484bc351d84dc6037233bc6663f (diff)
downloadFreeBSD-src-96a3bbaa0704528a7a819c6e714c20b5c9b60f95.zip
FreeBSD-src-96a3bbaa0704528a7a819c6e714c20b5c9b60f95.tar.gz
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)
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/booke/platform_bare.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/powerpc/booke/platform_bare.c b/sys/powerpc/booke/platform_bare.c
index 2ec50d2..ca3cfa2 100644
--- a/sys/powerpc/booke/platform_bare.c
+++ b/sys/powerpc/booke/platform_bare.c
@@ -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;
OpenPOWER on IntegriCloud