aboutsummaryrefslogtreecommitdiff
path: root/services/std_svc/psci/psci_common.c
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2014-06-24 16:44:12 +0100
committerdanh-arm <dan.handley@arm.com>2014-06-24 16:44:12 +0100
commit7eea13523cde5c26e2690d96dd8b99a56f6a6840 (patch)
tree11bef9d9cf647fe6128353835398420c7ac88f52 /services/std_svc/psci/psci_common.c
parent41cf7bdfd7114ee437d165974367a483636df76d (diff)
parent634ec6c23b4037ec6efc2a594fd6b666339171e9 (diff)
downloadarm-trusted-firmware-7eea13523cde5c26e2690d96dd8b99a56f6a6840.tar.gz
Merge pull request #147 from athoelke/at/remove-bakery-mpidr
Remove calling CPU mpidr from bakery lock API
Diffstat (limited to 'services/std_svc/psci/psci_common.c')
-rw-r--r--services/std_svc/psci/psci_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/std_svc/psci/psci_common.c b/services/std_svc/psci/psci_common.c
index 87be843..a8719a5 100644
--- a/services/std_svc/psci/psci_common.c
+++ b/services/std_svc/psci/psci_common.c
@@ -166,7 +166,7 @@ void psci_acquire_afflvl_locks(unsigned long mpidr,
for (level = start_afflvl; level <= end_afflvl; level++) {
if (mpidr_nodes[level] == NULL)
continue;
- bakery_lock_get(mpidr, &mpidr_nodes[level]->lock);
+ bakery_lock_get(&mpidr_nodes[level]->lock);
}
}
@@ -185,7 +185,7 @@ void psci_release_afflvl_locks(unsigned long mpidr,
for (level = end_afflvl; level >= start_afflvl; level--) {
if (mpidr_nodes[level] == NULL)
continue;
- bakery_lock_release(mpidr, &mpidr_nodes[level]->lock);
+ bakery_lock_release(&mpidr_nodes[level]->lock);
}
}