diff options
author | davidcunado-arm <david.cunado@arm.com> | 2017-10-23 09:54:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-23 09:54:45 +0100 |
commit | 4c37ac89031da9b3be97f9a06440cfa1b530135d (patch) | |
tree | 57d35175d72f8ff523c0212ed180f68e52aac710 /lib/psci/psci_on.c | |
parent | f911e229f3ab0481230cf1e03bc0c076707c9567 (diff) | |
parent | bd0c34778174aa4239ff96b448d0b6e1deeec4e2 (diff) |
Merge pull request #1132 from jeenu-arm/pubsub
Publish and Subscribe framework
Diffstat (limited to 'lib/psci/psci_on.c')
-rw-r--r-- | lib/psci/psci_on.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/psci/psci_on.c b/lib/psci/psci_on.c index d3d0e2ff..53b044ec 100644 --- a/lib/psci/psci_on.c +++ b/lib/psci/psci_on.c @@ -11,6 +11,7 @@ #include <context_mgmt.h> #include <debug.h> #include <platform.h> +#include <pubsub_events.h> #include <stddef.h> #include "psci_private.h" @@ -188,6 +189,8 @@ void psci_cpu_on_finish(unsigned int cpu_idx, if (psci_spd_pm && psci_spd_pm->svc_on_finish) psci_spd_pm->svc_on_finish(0); + PUBLISH_EVENT(psci_cpu_on_finish); + /* Populate the mpidr field within the cpu node array */ /* This needs to be done only once */ psci_cpu_pd_nodes[cpu_idx].mpidr = read_mpidr() & MPIDR_AFFINITY_MASK; |