Date: Tue, 2 Aug 2011 23:49:23 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r224618 - head/sys/powerpc/booke Message-ID: <201108022349.p72NnN1Q076483@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marcel Date: Tue Aug 2 23:49:23 2011 New Revision: 224618 URL: http://svn.freebsd.org/changeset/base/224618 Log: 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) Modified: head/sys/powerpc/booke/platform_bare.c Modified: head/sys/powerpc/booke/platform_bare.c ============================================================================== --- head/sys/powerpc/booke/platform_bare.c Tue Aug 2 23:33:44 2011 (r224617) +++ head/sys/powerpc/booke/platform_bare.c Tue Aug 2 23:49:23 2011 (r224618) @@ -178,13 +178,14 @@ bare_timebase_freq(platform_t plat, stru 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108022349.p72NnN1Q076483>