s390/sclp: fix new line detection
commit98f6d1a6681b9398968f9fe5e016d19c259b04c2
authorPeter Oberparleiter <peter.oberparleiter@de.ibm.com>
Wed, 5 Jun 2013 13:51:57 +0000 (5 15:51 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 5 Jun 2013 15:36:21 +0000 (5 17:36 +0200)
tree2369fa41ffb54237c7decc3f86cf24ec49bcac21
parenta8f6e7f7953d1baa05a346bf7cee44f1d022c63d
s390/sclp: fix new line detection

When printing multi-line text using sclp_print, line endings are not
correctly handled. The routine is expecting an EBCDIC new line character
as line terminator while the input text is encoded in ASCII format.

Fix this problem by modifying sclp_print to scan for ASCII new line
characters.

Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/sclp.S