summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2017-12-12 09:08:35 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-15 20:21:28 +0100
commit1598e38c0770b08c4d6371b670f9ee61a42ec68b (patch)
tree1dd15f53255ce129e5f7b732bee555d45b23ec25 /drivers
parentMerge 4.15-rc3 into tty-next (diff)
downloadlinux-1598e38c0770b08c4d6371b670f9ee61a42ec68b.tar.xz
linux-1598e38c0770b08c4d6371b670f9ee61a42ec68b.zip
serial: forbid 8250 on s390
Using "make kvmconfig" results in a potentially unusable linux image on s390. The reason is that both the (default on s390) sclp consoles as well as the 8250 console register a ttyS<x> as console. Since there will be no 8250 on s390 let's fence 8250. This will ensure that there is always a working sclp console. Reported-by: Alice Frosi <alice@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/tty/serial/8250/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig
index a5c0ef1e7695..16b1496e6105 100644
--- a/drivers/tty/serial/8250/Kconfig
+++ b/drivers/tty/serial/8250/Kconfig
@@ -5,6 +5,7 @@
config SERIAL_8250
tristate "8250/16550 and compatible serial support"
+ depends on !S390
select SERIAL_CORE
---help---
This selects whether you want to include the driver for the standard