From: Nilay Vaish Date: Sun, 3 Mar 2013 00:04:51 +0000 (-0600) Subject: sim: remove duplicate check on stack size X-Git-Tag: stable_2013_06_16~72 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4e8512afa8fa5b09ee9f34ba256254eb012d628;p=gem5.git sim: remove duplicate check on stack size --- 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."); };