* [PATCH] 2.5.48 s390 (9/16): ebcdic conversion bug.
@ 2002-11-18 19:20 Martin Schwidefsky
0 siblings, 0 replies; only message in thread
From: Martin Schwidefsky @ 2002-11-18 19:20 UTC (permalink / raw)
To: linux-kernel, torvalds
Fix ebcdic conversion for strings of n*256 + 1 characters.
diff -urN linux-2.5.48/include/asm-s390/ebcdic.h linux-2.5.48-s390/include/asm-s390/ebcdic.h
--- linux-2.5.48/include/asm-s390/ebcdic.h Mon Nov 18 05:29:32 2002
+++ linux-2.5.48-s390/include/asm-s390/ebcdic.h Mon Nov 18 20:11:44 2002
@@ -32,7 +32,7 @@
"0: tr 0(256,%0),0(%2)\n"
" la %0,256(%0)\n"
"1: ahi %1,-256\n"
- " jp 0b\n"
+ " jnm 0b\n"
" ex %1,0(1)"
: "+&a" (addr), "+&a" (nr)
: "a" (codepage) : "cc", "memory", "1" );
diff -urN linux-2.5.48/include/asm-s390x/ebcdic.h linux-2.5.48-s390/include/asm-s390x/ebcdic.h
--- linux-2.5.48/include/asm-s390x/ebcdic.h Mon Nov 18 05:29:56 2002
+++ linux-2.5.48-s390/include/asm-s390x/ebcdic.h Mon Nov 18 20:11:44 2002
@@ -32,7 +32,7 @@
"0: tr 0(256,%0),0(%2)\n"
" la %0,256(%0)\n"
"1: ahi %1,-256\n"
- " jp 0b\n"
+ " jnm 0b\n"
" ex %1,0(1)"
: "+&a" (addr), "+&a" (nr)
: "a" (codepage) : "cc", "memory", "1" );
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-18 19:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-18 19:20 [PATCH] 2.5.48 s390 (9/16): ebcdic conversion bug Martin Schwidefsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome