Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e23bebdf authored by Laura Abbott's avatar Laura Abbott Committed by Stephen Boyd
Browse files

msm: scm: Add scm_call_noalloc and helper macros



Currently, scm_call internally calls kmalloc() to allocate a command
buffer structure. This prevents scm_call from working before kmalloc
structures are initialized or during atomic contexts. Allow clients
to pass in a pre-allocated buffer for scm_call to be used for internal
structures.

Change-Id: Id09500c8c696298228aefdcc2a61953e654677c9
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent cc58f6a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment