ARM: Fix mp interrupt bug in GIC.
Missing "!" made multiprocessor interrupts operate incorrectly.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user