linux/arch/blackfin/mach-common
Vegard Nossum 3fce371bfa mm: add new mmget() helper
Apart from adding the helper function itself, the rest of the kernel is
converted mechanically using:

  git grep -l 'atomic_inc.*mm_users' | xargs sed -i 's/atomic_inc(&\(.*\)->mm_users);/mmget\(\1\);/'
  git grep -l 'atomic_inc.*mm_users' | xargs sed -i 's/atomic_inc(&\(.*\)\.mm_users);/mmget\(\&\1\);/'

This is needed for a later patch that hooks into the helper, but might
be a worthwhile cleanup on its own.

(Michal Hocko provided most of the kerneldoc comment.)

Link: http://lkml.kernel.org/r/20161218123229.22952-2-vegard.nossum@oracle.com
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-02-27 18:43:48 -08:00
..
Makefile blackfin: scb: Add system crossbar init code. 2013-09-13 10:42:27 +08:00
arch_checks.c Blackfin: split optimization settings more 2011-03-18 04:01:03 -04:00
cache-c.c blackfin: Support L1 SRAM parity checking feature on bf60x 2014-01-29 15:12:20 +08:00
cache.S Blackfin: SMP: work around anomaly 05000491 2011-03-18 04:01:04 -04:00
clock.h blackfin: bf60x: add clock support 2012-05-21 14:54:13 +08:00
clocks-init.c blackfin: delete non-required instances of <linux/init.h> 2014-01-29 15:11:42 +08:00
dpmc.c ARCH: drivers remove __dev* attributes. 2013-01-03 15:57:13 -08:00
dpmc_modes.S blackfin: bf60x: pm: Add a debug option to calculate kernel wakeup time. 2012-05-21 14:54:52 +08:00
entry.S blackfin: Wire up missing syscalls 2015-04-24 11:00:35 +08:00
head.S blackfin: add bf60x to current framework 2012-05-21 14:54:12 +08:00
interrupt.S Blackfin/ipipe: fix deferred pipeline sync for the root stage 2011-03-18 04:01:11 -04:00
ints-priority.c gpio: Include linux/gpio.h instead of asm/gpio.h 2016-02-16 00:20:03 +01:00
pm.c gpio: Include linux/gpio.h instead of asm/gpio.h 2016-02-16 00:20:03 +01:00
scb-init.c blackfin: delete non-required instances of <linux/init.h> 2014-01-29 15:11:42 +08:00
smp.c mm: add new mmget() helper 2017-02-27 18:43:48 -08:00