aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/cpm_gpio.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2023-05-24 16:08:19 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2023-08-02 22:22:18 +1000
commitf74b2a6c01a0b319070ccee7dea0cc4dad694041 (patch)
tree15ee35bed11fd3913065932386d54ff15ad19fcf /arch/powerpc/sysdev/cpm_gpio.c
parentpowerpc: Account mm_cpumask and active_cpus in init_mm (diff)
downloadlinux-f74b2a6c01a0b319070ccee7dea0cc4dad694041.tar.gz
linux-f74b2a6c01a0b319070ccee7dea0cc4dad694041.zip
powerpc/64s: Use dec_mm_active_cpus helper
Avoid open-coded atomic_dec on mm->context.active_cpus and use the function made for it. Add CONFIG_DEBUG_VM underflow checking on the counter. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20230524060821.148015-3-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/sysdev/cpm_gpio.c')
0 files changed, 0 insertions, 0 deletions