ARM: Fix mp interrupt bug in GIC.

Missing "!" made multiprocessor interrupts operate incorrectly.
This commit is contained in:
Daniel Johnson
2011-07-10 12:56:08 -05:00
parent 678376f0ba
commit 83f91db2cc

View File

@@ -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;
}