2c2
< * Copyright (c) 2011-2012, 2014, 2016 ARM Limited
---
> * Copyright (c) 2011-2012, 2014, 2016, 2017 ARM Limited
1050a1051,1061
> // If a thread is suspended, wake it up so it can be drained
> for (auto t : threadContexts) {
> if (t->status() == ThreadContext::Suspended){
> DPRINTF(Drain, "Currently suspended so activate %i \n",
> t->threadId());
> t->activate();
> // As the thread is now active, change the power state as well
> activateContext(t->threadId());
> }
> }
>