From: Jason Lowe-Power Date: Fri, 9 Mar 2018 18:58:44 +0000 (-0800) Subject: sim-se: Fix fallthrough in prlimit X-Git-Tag: v19.0.0.0~2226 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e4ce6d54cc027dabd87f77b545c91f304aecc0d;p=gem5.git sim-se: Fix fallthrough in prlimit Change-Id: Ieec4651000b3b4de05ba5ba11fdfa5392a5477e7 Signed-off-by: Jason Lowe-Power Reviewed-on: https://gem5-review.googlesource.com/8904 Reviewed-by: Gabe Black Maintainer: Brandon Potter --- diff --git a/src/sim/syscall_emul.hh b/src/sim/syscall_emul.hh index eaa5e542c..e5b0f455a 100644 --- a/src/sim/syscall_emul.hh +++ b/src/sim/syscall_emul.hh @@ -1731,6 +1731,7 @@ prlimitFunc(SyscallDesc *desc, int callnum, Process *process, rlp->rlim_cur = rlp->rlim_max = 256*1024*1024; rlp->rlim_cur = TheISA::htog(rlp->rlim_cur); rlp->rlim_max = TheISA::htog(rlp->rlim_max); + break; default: warn("prlimit: unimplemented resource %d", resource); return -EINVAL;