summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDaniel Boulby <daniel.boulby@arm.com>2018-09-20 14:12:46 +0100
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-10-03 11:47:30 +0100
commit87c851349847a608f12623b7fd397956982e41b6 (patch)
treec84a4450f78e26230ca379f3e2900380c50d9297 /common
parent1dcc28cfbac5dae3992ad9581f9ea68f6cb339c1 (diff)
Mark BL31 initialization functions
Mark the initialization functions in BL31, such as context management, EHF, RAS and PSCI as __init so that they can be reclaimed by the platform when no longer needed Change-Id: I7446aeee3dde8950b0f410cb766b7a2312c20130 Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
Diffstat (limited to 'common')
-rw-r--r--common/runtime_svc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/runtime_svc.c b/common/runtime_svc.c
index ad564f56..03f7f7ef 100644
--- a/common/runtime_svc.c
+++ b/common/runtime_svc.c
@@ -93,7 +93,7 @@ static int32_t validate_rt_svc_desc(const rt_svc_desc_t *desc)
* The unique oen is used as an index into the 'rt_svc_descs_indices' array.
* The index of the runtime service descriptor is stored at this index.
******************************************************************************/
-void runtime_svc_init(void)
+void __init runtime_svc_init(void)
{
int rc = 0;
unsigned int index, start_idx, end_idx;