summaryrefslogtreecommitdiff
path: root/include/asm-generic/early_ioremap.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-09-08 05:56:04 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-09-08 21:50:24 +0300
commit8491502f787c4a902bd4f223b578ef47d3490264 (patch)
treefb17f5e99a94cd457c73f7cb7e74c9272c5df8a1 /include/asm-generic/early_ioremap.h
parent82a70ce0426dd7c4099516175019dccbd18cebf9 (diff)
downloadlinux-8491502f787c4a902bd4f223b578ef47d3490264.tar.xz
mm: don't allow executable ioremap mappings
There is no need to execute from iomem (and most platforms it is impossible anyway), so add the pgprot_nx() call similar to vmap. Link: https://lkml.kernel.org/r/20210824091259.1324527-3-hch@lst.de Signed-off-by: Christoph Hellwig <hch@lst.de> Cc: Nicholas Piggin <npiggin@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-generic/early_ioremap.h')
0 files changed, 0 insertions, 0 deletions