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

Commit dab833f3 authored by Amit Pundir's avatar Amit Pundir Committed by Rom Lemarchand
Browse files

locking: Remove deprecated smp_mb__after_clear_bit()



Replace deprecated smp_mb__after_clear_bit() with smp_mb__after_atomic()
to fix following warning:
----------
arch/arm/kernel/smp.c: In function ‘smp_send_all_cpu_backtrace’:
arch/arm/kernel/smp.c:588:2: warning: ‘smp_mb__after_clear_bit’ is deprecated (declared at include/linux/bitops.h:51) [-Wdeprecated-declarations]
----------

This fix is a followup of upstream commit:
febdbfe8 (arch: Prepare for smp_mb__{before,after}_atomic())

Also with this fix in place we no longer need to support deprecated
smp_mb__() barriers and we can revert commit:
a4616e0e (Revert "locking: Remove deprecated smp_mb__() barriers")

Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 27c950a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment