linux-stable/drivers
Jérôme Glisse dfcd66604c mm/mmu_notifier: convert user range->blockable to helper function
Use the mmu_notifier_range_blockable() helper function instead of directly
dereferencing the range->blockable field.  This is done to make it easier
to change the mmu_notifier range field.

This patch is the outcome of the following coccinelle patch:

%<-------------------------------------------------------------------
@@
identifier I1, FN;
@@
FN(..., struct mmu_notifier_range *I1, ...) {
<...
-I1->blockable
+mmu_notifier_range_blockable(I1)
...>
}
------------------------------------------------------------------->%

spatch --in-place --sp-file blockable.spatch --dir .

Link: http://lkml.kernel.org/r/20190326164747.24405-3-jglisse@redhat.com
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
Reviewed-by: Ralph Campbell <rcampbell@nvidia.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Felix Kuehling <Felix.Kuehling@amd.com>
Cc: Jason Gunthorpe <jgg@mellanox.com>
Cc: Ross Zwisler <zwisler@kernel.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krcmar <rkrcmar@redhat.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Christian Koenig <christian.koenig@amd.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-05-14 09:47:49 -07:00
..
accessibility
acpi IOMMU Updates for Linux v5.2 2019-05-13 09:23:18 -04:00
amba
android
ata
atm
auxdisplay
base drivers/base/memory.c: clean up relics in function parameters 2019-05-14 09:47:48 -07:00
bcma
block
bluetooth
bus
cdrom
char
clk
clocksource Kbuild updates for v5.2 2019-05-08 12:25:12 -07:00
connector
counter
cpufreq
cpuidle
crypto
dax mm/huge_memory: fix vmf_insert_pfn_{pmd, pud}() crash, handle unaligned addresses 2019-05-14 09:47:44 -07:00
dca
devfreq
dio
dma dmaengine updates for v5.2-rc1 2019-05-09 08:51:45 -07:00
dma-buf drm pull request for 5.2 2019-05-08 21:35:19 -07:00
edac
eisa
extcon
firewire
firmware
fmc
fpga mm/gup: change GUP fast to use flags rather than a write 'bool' 2019-05-14 09:47:46 -07:00
fsi
gnss
gpio This is the bulk of the GPIO changes for the v5.2 kernel cycle: 2019-05-11 10:54:43 -04:00
gpu mm/mmu_notifier: convert user range->blockable to helper function 2019-05-14 09:47:49 -07:00
hid
hsi
hv
hwmon
hwspinlock
hwtracing
i2c Merge branch 'i2c/for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2019-05-09 14:41:55 -07:00
i3c
ide ide: officially deprecated the legacy IDE driver 2019-05-08 16:47:23 -07:00
idle
iio
infiniband mm/mmu_notifier: convert user range->blockable to helper function 2019-05-14 09:47:49 -07:00
input
interconnect
iommu IOMMU Updates for Linux v5.2 2019-05-13 09:23:18 -04:00
ipack
irqchip
isdn
leds
lightnvm
macintosh
mailbox - New driver: Armada 37xx mailbox controller 2019-05-10 12:55:16 -04:00
mcb
md
media mm/gup: replace get_user_pages_longterm() with FOLL_LONGTERM 2019-05-14 09:47:45 -07:00
memory This pull request contains the following changes for MTD: 2019-05-12 17:57:52 -04:00
memstick
message
mfd dmaengine updates for v5.2-rc1 2019-05-09 08:51:45 -07:00
misc mm/gup: change GUP fast to use flags rather than a write 'bool' 2019-05-14 09:47:46 -07:00
mmc
mtd This pull request contains the following changes for UBI/UBIFS 2019-05-12 18:16:31 -04:00
mux
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-05-09 17:00:51 -07:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of
opp
oprofile
parisc
parport DMA mapping updates for 5.2 2019-05-09 08:40:55 -07:00
pci
pcmcia
perf
phy
pinctrl This is the bulk of the GPIO changes for the v5.2 kernel cycle: 2019-05-11 10:54:43 -04:00
platform mm/gup: change GUP fast to use flags rather than a write 'bool' 2019-05-14 09:47:46 -07:00
pnp
power
powercap
pps
ps3
ptp ptp_qoriq: fix NULL access if ptp dt node missing 2019-05-09 09:19:26 -07:00
pwm pwm: Changes for v5.2-rc1 2019-05-10 12:57:15 -04:00
rapidio mm/gup: change GUP fast to use flags rather than a write 'bool' 2019-05-14 09:47:46 -07:00
ras
regulator
remoteproc
reset
rpmsg
rtc chrome platform changes for v5.2 2019-05-12 07:00:21 -04:00
s390
sbus mm/gup: change GUP fast to use flags rather than a write 'bool' 2019-05-14 09:47:46 -07:00
scsi mm/gup: change GUP fast to use flags rather than a write 'bool' 2019-05-14 09:47:46 -07:00
sfi
sh
siox
slimbus
sn
soc
soundwire
spi dmaengine updates for v5.2-rc1 2019-05-09 08:51:45 -07:00
spmi
ssb
staging mm/gup: change GUP fast to use flags rather than a write 'bool' 2019-05-14 09:47:46 -07:00
target
tc
tee mm/gup: change GUP fast to use flags rather than a write 'bool' 2019-05-14 09:47:46 -07:00
thermal
thunderbolt
tty dmaengine updates for v5.2-rc1 2019-05-09 08:51:45 -07:00
uio
usb drm pull request for 5.2 2019-05-08 21:35:19 -07:00
uwb
vfio mm/gup: change GUP fast to use flags rather than a write 'bool' 2019-05-14 09:47:46 -07:00
vhost mm/gup: change GUP fast to use flags rather than a write 'bool' 2019-05-14 09:47:46 -07:00
video mm/gup: change GUP fast to use flags rather than a write 'bool' 2019-05-14 09:47:46 -07:00
virt mm/gup: change GUP fast to use flags rather than a write 'bool' 2019-05-14 09:47:46 -07:00
virtio
visorbus
vlynq
vme
w1
watchdog linux-watchdog 5.2-rc1 tag 2019-05-13 09:20:42 -04:00
xen mm/mmu_notifier: convert user range->blockable to helper function 2019-05-14 09:47:49 -07:00
zorro
Kconfig
Makefile