msm: secure_buffer: Update the hyp_assign_phys() api

The hyp_assign_phys() api can be called by different
usecases where it is not guaranteed that the source vm is
always VMID_HLOS.

Pass the responsibility of setting the source_vm to
caller of the function.

Change-Id: I3851a6681f49d4bb6fa5b7a889a16a158497e9e6
Signed-off-by: Neeti Desai <neetid@codeaurora.org>
This commit is contained in:
Neeti Desai 2015-06-05 18:44:24 -07:00 committed by David Keitel
parent 661ff7a508
commit f6ee2b6ea3

View file

@ -66,8 +66,8 @@ static inline int hyp_assign_table(struct sg_table *table,
return -ENOSYS;
}
static inline int hyp_assign_phys(phys_addr_t addr, u64 size,
int *dest_vmids, int *dest_perms,
int dest_nelems)
u32 *source_vmlist, int source_nelems,
int *dest_vmids, int *dest_perms, int dest_nelems)
{
return -ENOSYS;
}