mm: remove the pgprot argument to __vmalloc
authorChristoph Hellwig <hch@lst.de>
Tue, 2 Jun 2020 04:51:40 +0000 (21:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 2 Jun 2020 17:59:11 +0000 (10:59 -0700)
commit88dca4ca5a93d2c09e5bbc6a62fbfc3af83c4fca
treeb8d4dc8a197489a501247fe160d3e872029a646f
parentd28ff991b2e23049c30584c1d97681087193879f
mm: remove the pgprot argument to __vmalloc

The pgprot argument to __vmalloc is always PAGE_KERNEL now, so remove it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Michael Kelley <mikelley@microsoft.com> [hyperv]
Acked-by: Gao Xiang <xiang@kernel.org> [erofs]
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Wei Liu <wei.liu@kernel.org>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Christophe Leroy <christophe.leroy@c-s.fr>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "K. Y. Srinivasan" <kys@microsoft.com>
Cc: Laura Abbott <labbott@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Cc: Robin Murphy <robin.murphy@arm.com>
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Paul Mackerras <paulus@ozlabs.org>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Will Deacon <will@kernel.org>
Link: http://lkml.kernel.org/r/20200414131348.444715-22-hch@lst.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
29 files changed:
arch/x86/hyperv/hv_init.c
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm/sev.c
drivers/block/drbd/drbd_bitmap.c
drivers/gpu/drm/etnaviv/etnaviv_dump.c
drivers/lightnvm/pblk-init.c
drivers/md/dm-bufio.c
drivers/mtd/ubi/io.c
drivers/scsi/sd_zbc.c
fs/gfs2/dir.c
fs/gfs2/quota.c
fs/nfs/blocklayout/extent_tree.c
fs/ntfs/malloc.h
fs/ubifs/debug.c
fs/ubifs/lprops.c
fs/ubifs/lpt_commit.c
fs/ubifs/orphan.c
fs/xfs/kmem.c
include/linux/vmalloc.h
kernel/bpf/core.c
kernel/groups.c
kernel/module.c
mm/nommu.c
mm/page_alloc.c
mm/percpu.c
mm/vmalloc.c
net/bridge/netfilter/ebtables.c
sound/core/memalloc.c
sound/core/pcm_memory.c