mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 06:04:23 +08:00
kgdb: add HAS_IOPORT dependency
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/20240403132547.762429-2-schnelle@linux.ibm.com Co-developed-by: Arnd Bergmann <arnd@kernel.org> Signed-off-by: Arnd Bergmann <arnd@kernel.org> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
040bf9a717
commit
b157f0e97e
@ -122,6 +122,7 @@ config KDB_DEFAULT_ENABLE
|
|||||||
config KDB_KEYBOARD
|
config KDB_KEYBOARD
|
||||||
bool "KGDB_KDB: keyboard as input device"
|
bool "KGDB_KDB: keyboard as input device"
|
||||||
depends on VT && KGDB_KDB && !PARISC
|
depends on VT && KGDB_KDB && !PARISC
|
||||||
|
depends on HAS_IOPORT
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
KDB can use a PS/2 type keyboard for an input device
|
KDB can use a PS/2 type keyboard for an input device
|
||||||
|
Loading…
Reference in New Issue
Block a user