aboutsummaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorLinus Torvalds2022-07-27 09:50:18 -0700
committerLinus Torvalds2022-07-27 09:50:18 -0700
commit6e7765cb477a9753670d4351d14de93f1e9dbbd4 (patch)
tree69dd8df8a2a26df07fd386e950bd3153c4945973 /include/asm-generic
parent9d8a8616ee47f478a9f78ab97f55c3fbf71bb5f0 (diff)
parente2a619ca0b38f2114347b7078b8a67d72d457a3d (diff)
Merge tag 'asm-generic-fixes-5.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic
Pull asm-generic fixes from Arnd Bergmann: "Two more bug fixes for asm-generic, one addressing an incorrect Kconfig symbol reference and another one fixing a build failure for the perf tool on mips and possibly others" * tag 'asm-generic-fixes-5.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic: asm-generic: remove a broken and needless ifdef conditional tools: Fixed MIPS builds due to struct flock re-definition
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/io.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h
index 7ce93aaf69f8..98954dda5734 100644
--- a/include/asm-generic/io.h
+++ b/include/asm-generic/io.h
@@ -1125,9 +1125,7 @@ static inline void memcpy_toio(volatile void __iomem *addr, const void *buffer,
}
#endif
-#ifndef CONFIG_GENERIC_DEVMEM_IS_ALLOWED
extern int devmem_is_allowed(unsigned long pfn);
-#endif
#endif /* __KERNEL__ */