diff options
-rw-r--r-- | sys/arm/arm/machdep.c | 12 |
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 |