diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2013-03-02 18:04:51 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2013-03-02 18:04:51 -0600 |
commit | a4e8512afa8fa5b09ee9f34ba256254eb012d628 (patch) | |
tree | 20c78beff9d6645c4c86888d24a35c45d4944da1 /src/sim | |
parent | e5bcb3075615d2dade3e51501d3f634178598428 (diff) | |
download | gem5-a4e8512afa8fa5b09ee9f34ba256254eb012d628.tar.xz |
sim: remove duplicate check on stack size
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/process.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sim/process.cc b/src/sim/process.cc index 9921ef0b7..22a886303 100644 --- a/src/sim/process.cc +++ b/src/sim/process.cc @@ -349,8 +349,6 @@ Process::fixupStackFault(Addr vaddr) stack_min -= TheISA::PageBytes; if (stack_base - stack_min > max_stack_size) fatal("Maximum stack size exceeded\n"); - if (stack_base - stack_min > 8 * 1024 * 1024) - fatal("Over max stack size for one thread\n"); allocateMem(stack_min, TheISA::PageBytes); inform("Increasing stack size by one page."); }; |