summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/soc/qcom/secure_buffer.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/soc/qcom/secure_buffer.h b/include/soc/qcom/secure_buffer.h
index 4a8cb1f647ca..893c139c8c04 100644
--- a/include/soc/qcom/secure_buffer.h
+++ b/include/soc/qcom/secure_buffer.h
@@ -40,8 +40,8 @@ int hyp_assign_table(struct sg_table *table,
int *dest_vmids, int *dest_perms,
int dest_nelems);
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);
bool msm_secure_v2_is_supported(void);
#else
static inline int msm_secure_table(struct sg_table *table)
@@ -59,12 +59,14 @@ int hyp_assign_table(struct sg_table *table,
{
return -EINVAL;
}
-int hyp_assign_phys(phys_addr_t addr, u64 size,
- int *dest_vmids, int *dest_perms,
- int dest_nelems)
+
+static inline int hyp_assign_phys(phys_addr_t addr, u64 size,
+ u32 *source_vmlist, int source_nelems,
+ int *dest_vmids, int *dest_perms, int dest_nelems)
{
return -EINVAL;
}
+
static inline bool msm_secure_v2_is_supported(void)
{
return false;