From: Ali Saidi Date: Sun, 19 Feb 2006 05:28:53 +0000 (-0500) Subject: forgot a negative sign X-Git-Tag: m5_2.0_beta1~87^2~89^2^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=00d58aeb4dc0569bc3d1273d90867148e6500ad9;p=gem5.git forgot a negative sign --HG-- extra : convert_revision : 9cdb00198979fca831d3e6840f9c534671ccead3 --- diff --git a/arch/alpha/alpha_tru64_process.cc b/arch/alpha/alpha_tru64_process.cc index 90f01637d..e6624305c 100644 --- a/arch/alpha/alpha_tru64_process.cc +++ b/arch/alpha/alpha_tru64_process.cc @@ -519,7 +519,7 @@ SyscallDesc AlphaTru64Process::machSyscallDescs[] = { SyscallDesc* AlphaTru64Process::getDesc(int callnum) { - if (callnum < Num_Mach_Syscall_Descs || callnum > Num_Syscall_Descs) + if (callnum < -Num_Mach_Syscall_Descs || callnum > Num_Syscall_Descs) return NULL; if (callnum < 0)