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

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

msm: remote_spinlock: Use smem_find()



smem_alloc() is deprecated.  Use the replacement function, smem_find(),
instead.

Change-Id: I2a47b01b3ff00d119a46063761ce6e2b3dd208c4
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent d804f40a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -575,7 +575,7 @@ static int remote_spinlock_init_address_smem(int id, _remote_spinlock_t *lock)
	if (id >= SMEM_SPINLOCK_COUNT)
		return -EINVAL;

	spinlock_start = smem_alloc(SMEM_SPINLOCK_ARRAY,
	spinlock_start = smem_find(SMEM_SPINLOCK_ARRAY,
				    SMEM_SPINLOCK_ARRAY_SIZE);
	if (spinlock_start == NULL)
		return -ENXIO;