]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
MIPS: smp-cps: Convert smp_mb__after_atomic_dec()
authorPaul Burton <paul.burton@imgtec.com>
Wed, 11 Jun 2014 10:00:56 +0000 (11:00 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 16 Jun 2014 11:47:47 +0000 (12:47 +0100)
commite114ba20fe4f2f0a075941a06271e3f0a3539551
tree722657a39a98ca6c658bc1641279079b36521226
parent7171511eaec5bf23fb06078f59784a3a0626b38f
MIPS: smp-cps: Convert smp_mb__after_atomic_dec()

Commit 91bbefe6b0fc "arch,mips: Convert smp_mb__*()" replaced the
smp_mb__after_atomic_dec function with smp_mb__after_atomic, whilst
commit 1d8f1f5a780a "MIPS: smp-cps: hotplug support" introduced a new
use of it. Replace that use with smp_mb__after_atomic in order to avoid
a build failure:

  arch/mips/kernel/smp-cps.c: In function 'cps_cpu_disable':
  arch/mips/kernel/smp-cps.c:304:2: error: 'smp_mb__after_atomic_dec' is
    deprecated (declared at include/linux/atomic.h:35)
    [-Werror=deprecated-declarations]

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7085/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smp-cps.c