mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
atomic: Replace atomic_{set,clear}_mask() usage
Replace the deprecated atomic_{set,clear}_mask() usage with the now
ubiquous atomic_{or,andnot}() functions.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
This commit is contained in:
parent
de9e432cb5
commit
805de8f43c
14 changed files with 97 additions and 97 deletions
|
|
@ -195,7 +195,7 @@ void send_ipi(const struct cpumask *cpumask, enum ipi_message_type msg)
|
|||
local_irq_save(flags);
|
||||
for_each_cpu(cpu, cpumask) {
|
||||
bfin_ipi_data = &per_cpu(bfin_ipi, cpu);
|
||||
atomic_set_mask((1 << msg), &bfin_ipi_data->bits);
|
||||
atomic_or((1 << msg), &bfin_ipi_data->bits);
|
||||
atomic_inc(&bfin_ipi_data->count);
|
||||
}
|
||||
local_irq_restore(flags);
|
||||
|
|
|
|||
Loading…
Reference in a new issue