From 5592798865ece858bab2b444bc782d19121e2566 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Sat, 6 Feb 2016 17:21:19 -0800 Subject: style: fix missing spaces in control statements Result of running 'hg m5style --skip-all --fix-control -a'. --- src/cpu/base.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/cpu/base.cc') diff --git a/src/cpu/base.cc b/src/cpu/base.cc index 9ba7e08a7..77677759f 100644 --- a/src/cpu/base.cc +++ b/src/cpu/base.cc @@ -98,7 +98,7 @@ CPUProgressEvent::process() if (_repeatEvent) cpu->schedule(this, curTick() + _interval); - if(cpu->switchedOut()) { + if (cpu->switchedOut()) { return; } @@ -288,7 +288,7 @@ BaseCPU::mwait(ThreadID tid, PacketPtr pkt) assert(tid < numThreads); AddressMonitor &monitor = addressMonitor[tid]; - if(monitor.gotWakeup == false) { + if (monitor.gotWakeup == false) { int block_size = cacheLineSize(); uint64_t mask = ~((uint64_t)(block_size - 1)); @@ -701,8 +701,8 @@ AddressMonitor::AddressMonitor() { bool AddressMonitor::doMonitor(PacketPtr pkt) { assert(pkt->req->hasPaddr()); - if(armed && waiting) { - if(pAddr == pkt->getAddr()) { + if (armed && waiting) { + if (pAddr == pkt->getAddr()) { DPRINTF(Mwait,"pAddr=0x%lx invalidated: waking up core\n", pkt->getAddr()); waiting = false; -- cgit v1.2.3