Commit 578605c3 authored by Laura Abbott's avatar Laura Abbott
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
CRs-Fixed: 498392
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 4b298b69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment