summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDietmar Eggemann <dietmar.eggemann@arm.com>2012-03-29 11:46:32 +0100
committerDietmar Eggemann <dietmar.eggemann@arm.com>2012-05-22 11:03:29 +0100
commitb6888a1881509cea539045f052f139a654d7820d (patch)
treed41cc2f8767f0e5811a52dae1f6ce584b1b2c805
parentdedd1a85e6942f5606c66ea398977f539c20df49 (diff)
Virq mig: Set own cpu_id for VIRQ_MIG_DONE event.
The sender of the IPI_MIGRATE_VIRQS IPI waits for the VIRQ_MIG_DONE event for the cpu_id of the receiver of the IPI. So the receiver should use its own cpu_id instead of the cpu_id of the sender when sending the event. Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
-rw-r--r--big-little/common/vgiclib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/big-little/common/vgiclib.c b/big-little/common/vgiclib.c
index bde8089..9d510ea 100644
--- a/big-little/common/vgiclib.c
+++ b/big-little/common/vgiclib.c
@@ -226,7 +226,7 @@ void complete_virq_migration(unsigned src_cpuid)
enqueue_interrupt(migrated_irqs[src_cpuid][ctr].desc, cpu_id);
}
- set_event(VIRQ_MIG_DONE, src_cpuid);
+ set_event(VIRQ_MIG_DONE, cpu_id);
return;
}