summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cpu/minor/cpu.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cpu/minor/cpu.cc b/src/cpu/minor/cpu.cc
index a93d0037d..aefd5599d 100644
--- a/src/cpu/minor/cpu.cc
+++ b/src/cpu/minor/cpu.cc
@@ -213,14 +213,12 @@ void
MinorCPU::signalDrainDone()
{
DPRINTF(Drain, "MinorCPU drain done\n");
- signalDrainDone();
+ Drainable::signalDrainDone();
}
void
MinorCPU::drainResume()
{
- assert(drainState() == DrainState::Drained);
-
if (switchedOut()) {
DPRINTF(Drain, "drainResume while switched out. Ignoring\n");
return;