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

Commit 41051078 authored by Jeff Hugo's avatar Jeff Hugo
Browse files

msm: remote_spinlock: Use smem_get_entry_to_proc()



smem_get_entry() is deprecated.  Use the replacement function,
smem_get_entry_to_proc(), instead.

Change-Id: I0d68d9ef0d4e511fad9bf1192374d35815df93e9
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent c3d17006
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -535,7 +535,8 @@ remote_spinlock_dal_init(const char *chunk_name, _remote_spinlock_t *lock)
	if (!chunk_name)
		return -EINVAL;

	dal_smem_start = smem_get_entry(SMEM_DAL_AREA, &dal_smem_size);
	dal_smem_start = smem_get_entry_to_proc(SMEM_DAL_AREA, &dal_smem_size,
							0, SMEM_ANY_HOST_FLAG);
	if (!dal_smem_start)
		return -ENXIO;