From 87c851349847a608f12623b7fd397956982e41b6 Mon Sep 17 00:00:00 2001 From: Daniel Boulby Date: Thu, 20 Sep 2018 14:12:46 +0100 Subject: 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 --- common/runtime_svc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') 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; -- cgit v1.2.3