mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
To: linux-kernel@vger.kernel.org, torvalds@transmeta.com
Subject: [PATCH] 2.5.48 s390 (9/16): ebcdic conversion bug.
Date: Mon, 18 Nov 2002 20:20:45 +0100	[thread overview]
Message-ID: <200211182020.45678.schwidefsky@de.ibm.com> (raw)

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" );


                 reply	other threads:[~2002-11-18 19:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200211182020.45678.schwidefsky@de.ibm.com \
    --to=schwidefsky@de.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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