summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-05-12 13:08:37 +0000
committerian <ian@FreeBSD.org>2014-05-12 13:08:37 +0000
commite174978f45bc7dad978c626f276de47f53a0ec5e (patch)
treebb6bbcb8b82d45e021a1470e7dd1b79ba62bc326
parent7c174746025f7873d253e7212d1973b038763440 (diff)
downloadFreeBSD-src-e174978f45bc7dad978c626f276de47f53a0ec5e.zip
FreeBSD-src-e174978f45bc7dad978c626f276de47f53a0ec5e.tar.gz
Cleanup some style nits.
-rw-r--r--sys/arm/arm/machdep.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/sys/arm/arm/machdep.c b/sys/arm/arm/machdep.c
index 8d2b0db..51c3028 100644
--- a/sys/arm/arm/machdep.c
+++ b/sys/arm/arm/machdep.c
@@ -424,24 +424,20 @@ void
cpu_idle(int busy)
{
- CTR2(KTR_SPARE2, "cpu_idle(%d) at %d",
- busy, curcpu);
+ CTR2(KTR_SPARE2, "cpu_idle(%d) at %d", busy, curcpu);
spinlock_enter();
#ifndef NO_EVENTTIMERS
- if (!busy) {
+ if (!busy)
cpu_idleclock();
- }
#endif
if (!sched_runnable())
cpu_sleep(0);
#ifndef NO_EVENTTIMERS
- if (!busy) {
+ if (!busy)
cpu_activeclock();
- }
#endif
spinlock_exit();
- CTR2(KTR_SPARE2, "cpu_idle(%d) at %d done",
- busy, curcpu);
+ CTR2(KTR_SPARE2, "cpu_idle(%d) at %d done", busy, curcpu);
}
int
OpenPOWER on IntegriCloud