aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/sclp.h
diff options
context:
space:
mode:
authorSascha Silbe <silbe@linux.vnet.ibm.com>2015-11-24 16:28:55 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-11-27 09:24:17 +0100
commit3f975df69dba78834471b7133dcb8c8ddf7f986a (patch)
tree572cdf72e9c514bfd5c6f89e69fee55b0be929d5 /arch/s390/include/asm/sclp.h
parents390/dis: Fix printing of the register numbers (diff)
downloadlinux-dev-3f975df69dba78834471b7133dcb8c8ddf7f986a.tar.xz
linux-dev-3f975df69dba78834471b7133dcb8c8ddf7f986a.zip
s390/sclp: Add VT220 support to early sclp console
When running under qemu with the default configuration (-nographic), there is only a VT220 SCLP console, no line-mode SCLP console. Add VT220 support to the early SCLP console so the user has a chance to see critical error messages during early boot. None of the existing users of _sclp_print_early() check the return code. Instead of trying to come up with return code semantics when printing to multiple consoles (any or all of which may fail), we just drop the return code entirely. Tested on z/VM (line mode console) and LPAR (VT220 and line mode console). Tested on qemu/KVM with VT220 console and / or line mode console. Signed-off-by: Sascha Silbe <silbe@linux.vnet.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/sclp.h')
-rw-r--r--arch/s390/include/asm/sclp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/sclp.h b/arch/s390/include/asm/sclp.h
index 2ca9c7bc50db..cb691602f295 100644
--- a/arch/s390/include/asm/sclp.h
+++ b/arch/s390/include/asm/sclp.h
@@ -80,6 +80,6 @@ int sclp_pci_deconfigure(u32 fid);
int memcpy_hsa_kernel(void *dest, unsigned long src, size_t count);
int memcpy_hsa_user(void __user *dest, unsigned long src, size_t count);
void sclp_early_detect(void);
-int _sclp_print_early(const char *);
+void _sclp_print_early(const char *);
#endif /* _ASM_S390_SCLP_H */