diff options
author | Daniel Johnson <daniel.johnson@arm.com> | 2011-07-10 12:56:08 -0500 |
---|---|---|
committer | Daniel Johnson <daniel.johnson@arm.com> | 2011-07-10 12:56:08 -0500 |
commit | 83f91db2ccbdf5af0ec984b1f94c83b8a4fbdc1e (patch) | |
tree | c1e2c690671db8933cbb4d2246a292163747df61 | |
parent | 678376f0ba3f3440b1fc1b6ace48455db5d75ca9 (diff) | |
download | gem5-83f91db2ccbdf5af0ec984b1f94c83b8a4fbdc1e.tar.xz |
ARM: Fix mp interrupt bug in GIC.
Missing "!" made multiprocessor interrupts operate incorrectly.
-rw-r--r-- | src/dev/arm/gic.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/arm/gic.cc b/src/dev/arm/gic.cc index d8feec49a..df4edde91 100644 --- a/src/dev/arm/gic.cc +++ b/src/dev/arm/gic.cc @@ -564,7 +564,7 @@ Gic::updateIntState(int hint) */ if ((bits(intEnabled[x], y) & bits(pendingInt[x], y)) && (intPriority[int_nm] < highest_pri)) - if (mp_sys || (cpuTarget[int_nm] & (1 << cpu))) { + if ( (!mp_sys) || (cpuTarget[int_nm] & (1 << cpu))) { highest_pri = intPriority[int_nm]; highest_int = int_nm; } |