diff options
author | Mitch Hayenga <mitch.hayenga@arm.com> | 2014-09-20 17:18:36 -0400 |
---|---|---|
committer | Mitch Hayenga <mitch.hayenga@arm.com> | 2014-09-20 17:18:36 -0400 |
commit | cc6523e2d686447f90acccac20c0fb2940dc3e3b (patch) | |
tree | 1db59dcca74fcc7f5fbebf76c06831a438c2990a /src/cpu/inorder/inorder_dyn_inst.cc | |
parent | e1403fc2af61c224c573c47c77a36f9b1b78e7df (diff) | |
download | gem5-cc6523e2d686447f90acccac20c0fb2940dc3e3b.tar.xz |
cpu: Remove unused deallocateContext calls
The call paths for de-scheduling a thread are halt() and suspend(), from
the thread context. There is no call to deallocateContext() in general,
though some CPUs chose to define it. This patch removes the function
from BaseCPU and the cores which do not require it.
Diffstat (limited to 'src/cpu/inorder/inorder_dyn_inst.cc')
-rw-r--r-- | src/cpu/inorder/inorder_dyn_inst.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/cpu/inorder/inorder_dyn_inst.cc b/src/cpu/inorder/inorder_dyn_inst.cc index 08f583338..adde35fdf 100644 --- a/src/cpu/inorder/inorder_dyn_inst.cc +++ b/src/cpu/inorder/inorder_dyn_inst.cc @@ -571,12 +571,6 @@ InOrderDynInst::setRegOtherThread(int reg_idx, MiscReg val, ThreadID tid) } } -void -InOrderDynInst::deallocateContext(int thread_num) -{ - this->cpu->deallocateContext(thread_num); -} - Fault InOrderDynInst::readMem(Addr addr, uint8_t *data, unsigned size, unsigned flags) |