aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-07-27 09:50:18 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2022-07-27 09:50:18 -0700
commit6e7765cb477a9753670d4351d14de93f1e9dbbd4 (patch)
tree69dd8df8a2a26df07fd386e950bd3153c4945973 /include/asm-generic
parentMerge tag 'soc-fixes-5.19-4' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc (diff)
parentasm-generic: remove a broken and needless ifdef conditional (diff)
downloadlinux-dev-6e7765cb477a9753670d4351d14de93f1e9dbbd4.tar.xz
linux-dev-6e7765cb477a9753670d4351d14de93f1e9dbbd4.zip
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__ */