linux_old1/arch/mn10300/kernel
Vegard Nossum f1f1007644 mm: add new mmgrab() helper
Apart from adding the helper function itself, the rest of the kernel is
converted mechanically using:

  git grep -l 'atomic_inc.*mm_count' | xargs sed -i 's/atomic_inc(&\(.*\)->mm_count);/mmgrab\(\1\);/'
  git grep -l 'atomic_inc.*mm_count' | xargs sed -i 's/atomic_inc(&\(.*\)\.mm_count);/mmgrab\(\&\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-1-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 mn10300: switch to generic kernel_execve() 2012-10-01 00:53:59 -04:00
asm-offsets.c mn10300: Remove signal translation and exec_domain 2015-04-12 20:58:25 +02:00
cevt-mn10300.c Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-09-01 14:33:35 -07:00
csrc-mn10300.c clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
entry.S mn10300: Fix crash just after starting userspace on !CONFIG_PREEMPT 2013-09-10 14:54:59 -07:00
fpu-low.S
fpu-nofpu-low.S
fpu-nofpu.c arch/mn10300/kernel/fpu-nofpu.c: needs asm/elf.h 2016-03-17 15:09:34 -07:00
fpu.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
gdb-io-serial-low.S
gdb-io-serial.c Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
gdb-io-ttysm-low.S
gdb-io-ttysm.c Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
gdb-low.S
gdb-stub.c Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
head.S
internal.h mn10300: split ret_from_fork, simplify kernel_thread() 2012-10-01 00:53:24 -04:00
io.c
irq.c mn10300/irq: Use access helper irq_data_get_affinity_mask() 2015-07-31 22:20:04 +02:00
kgdb.c Clarify naming of thread info/stack allocators 2016-06-24 15:09:37 -07:00
kprobes.c
mn10300-debug.c
mn10300-serial-low.S MN10300: fix SMP synchronization between txdma and serial driver 2012-12-12 15:46:14 +00:00
mn10300-serial.c mn10300: Remove deprecated IRQF_DISABLED 2014-03-04 21:47:51 +01:00
mn10300-serial.h MN10300: ttySM: clean up unnecessary casting 2012-12-12 15:46:14 +00:00
mn10300-watchdog-low.S
mn10300-watchdog.c mn10300: Use the core irq stats function 2014-03-04 17:37:53 +01:00
mn10300_ksyms.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
module.c
process.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
profile-low.S
profile.c
ptrace.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
rtc.c mn10300: use RTC_DRV_CMOS instead of CONFIG_RTC 2016-06-26 01:20:08 +02:00
setup.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
sigframe.h
signal.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
smp-low.S Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
smp.c mm: add new mmgrab() helper 2017-02-27 18:43:48 -08:00
switch_to.S
sys_mn10300.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
time.c
traps.c dump_stack: consolidate dump_stack() implementations and unify their behaviors 2013-04-30 17:04:02 -07:00
vmlinux.lds.S nmi_backtrace: generate one-line reports for idle cpus 2016-10-07 18:46:30 -07:00