aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorNiklas Schnelle <[email protected]>2023-03-23 17:33:52 +0100
committerArnd Bergmann <[email protected]>2023-04-05 22:15:19 +0200
commitfcbfe8121a45152a3cfbe1c28c96a3b611b7347d (patch)
tree3f1e4c0bd1979e56e9438396bea7686466c59dfe /lib/memory-notifier-error-inject.c
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff)
Kconfig: introduce HAS_IOPORT option and select it as necessary
We introduce a new HAS_IOPORT Kconfig option to indicate support for I/O Port access. In a future patch HAS_IOPORT=n will disable compilation of the I/O accessor functions inb()/outb() and friends on architectures which can not meaningfully support legacy I/O spaces such as s390. The following architectures do not select HAS_IOPORT: * ARC * C-SKY * Hexagon * Nios II * OpenRISC * s390 * User-Mode Linux * Xtensa All other architectures select HAS_IOPORT at least conditionally. The "depends on" relations on HAS_IOPORT in drivers as well as ifdefs for HAS_IOPORT specific sections will be added in subsequent patches on a per subsystem basis. Co-developed-by: Arnd Bergmann <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Johannes Berg <[email protected]> # for ARCH=um Acked-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Niklas Schnelle <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions