aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorJeff Hugo <jhugo@codeaurora.org>2014-01-30 10:24:28 -0700
committerJeff Hugo <jhugo@codeaurora.org>2014-01-30 11:26:39 -0700
commitc42388b58300063ec85da848d0f7552bc9fb171b (patch)
tree5f1df533fdc27a9c221b271a6a0db8b6c1c42dbb /scripts/gcc-wrapper.py
parent9c6389a6b06cc83dadb8a697f9e04ad66791a730 (diff)
soc: qcom: smem: Allow accesses to SMEM_SPINLOCK_ARRAY before probe done
There is a circular dependency between the SMEM driver and the remote spinlock driver when the software locks are used. SMEM requires the remote spinlocks to be initialized before probe completes, but initializing the software locks requires access to the SMEM_SPINLOCK_ARRAY smem item. This is a problem as access to smem items is gated by the completetion of SMEM's probe(). Add some intelligence into the public API to allow accesses to the SMEM_SPINLOCK_ARRAY before SMEM's probe() completes for the purpose of a workaround to the circular dependency. Change-Id: I4896d5589b6ebd7cc8e71f1b6162bb28e4107968 Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions