arch: Fix a fatal_if in most of the arch's process classes.
authorGabe Black <gabeblack@google.com>
Sun, 14 Jan 2018 19:44:04 +0000 (11:44 -0800)
committerGabe Black <gabeblack@google.com>
Mon, 15 Jan 2018 06:13:55 +0000 (06:13 +0000)
commit3e8d76e2e23ab23d68e569e9b2c4498a06c19f59
tree24cd226f1a7327b4969ceabe65faa44d5353df42
parent5320a97ced43d4452014ff54c0ba45246db90a00
arch: Fix a fatal_if in most of the arch's process classes.

When switching an assert to a fatal while addressing recent review
feedback, I forgot to reverse the polarity of the condition, making
the fatal fire in exactly the opposite of the conditions it was meant
to.

Change-Id: Icf49864ef449052bbb0d427dca786006166575c4
Reviewed-on: https://gem5-review.googlesource.com/7381
Reviewed-by: Matthias Jung <jungma@eit.uni-kl.de>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/arch/alpha/process.cc
src/arch/arm/process.cc
src/arch/mips/process.cc
src/arch/power/process.cc
src/arch/riscv/process.cc
src/arch/sparc/process.cc