2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-16 17:23:55 +08:00
linux-next/drivers/misc/cxl
Julia Lawall e10e024643 misc: cxl: use mmgrab
Mmgrab was introduced in commit f1f1007644 ("mm: add new mmgrab()
helper") and most of the kernel was updated to use it. Update a
remaining file.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

<smpl>
@@ expression e; @@
- atomic_inc(&e->mm_count);
+ mmgrab(e);
</smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Link: https://lore.kernel.org/r/1577634178-22530-2-git-send-email-Julia.Lawall@inria.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-14 15:16:50 +01:00
..
api.c
base.c
context.c misc: cxl: use mmgrab 2020-01-14 15:16:50 +01:00
cxl.h
cxllib.c
debugfs.c
fault.c
file.c
flash.c
guest.c
hcalls.c
hcalls.h
irq.c
Kconfig
main.c
Makefile
native.c
of.c
pci.c
sysfs.c
trace.c
trace.h
vphb.c