Skip to content

Commit

Permalink
kgdb: add HAS_IOPORT dependency
Browse files Browse the repository at this point in the history
In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at
compile time.  We thus need to add HAS_IOPORT as dependency for those
drivers using them.

Link: https://lkml.kernel.org/r/[email protected]
Co-developed-by: Arnd Bergmann <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Niklas Schnelle <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
niklas88 authored and akpm00 committed Apr 26, 2024
1 parent 040bf9a commit b157f0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Kconfig.kgdb
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ config KDB_DEFAULT_ENABLE
config KDB_KEYBOARD
bool "KGDB_KDB: keyboard as input device"
depends on VT && KGDB_KDB && !PARISC
depends on HAS_IOPORT
default n
help
KDB can use a PS/2 type keyboard for an input device
Expand Down

0 comments on commit b157f0e

Please sign in to comment.