diff options
author | Dimitris Papastamos <dimitris.papastamos@arm.com> | 2018-08-31 09:53:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-31 09:53:03 +0100 |
commit | 708531cf0541295f50d81b0bfa3441e757a00348 (patch) | |
tree | efe0062420d8e4adf41399111e3c7da554b42514 /common | |
parent | f60a5004acabccf573e0eb943cdbfad7d7f540f6 (diff) | |
parent | e19ea3f2a8c81d980d5f1ca8b70966661361f04b (diff) |
Merge pull request #1549 from danielboulby-arm/db/pointer
Remove rt_svc_descs pointer from global scope
Diffstat (limited to 'common')
-rw-r--r-- | common/runtime_svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/runtime_svc.c b/common/runtime_svc.c index f997c74a..ad564f56 100644 --- a/common/runtime_svc.c +++ b/common/runtime_svc.c @@ -20,7 +20,6 @@ * 'rt_svc_descs' array which contains the SMC handler. ******************************************************************************/ uint8_t rt_svc_descs_indices[MAX_RT_SVCS]; -static rt_svc_desc_t *rt_svc_descs; #define RT_SVC_DECS_NUM ((RT_SVC_DESCS_END - RT_SVC_DESCS_START)\ / sizeof(rt_svc_desc_t)) @@ -98,6 +97,7 @@ void runtime_svc_init(void) { int rc = 0; unsigned int index, start_idx, end_idx; + rt_svc_desc_t *rt_svc_descs; /* Assert the number of descriptors detected are less than maximum indices */ assert((RT_SVC_DESCS_END >= RT_SVC_DESCS_START) && |