public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
To: linux-kernel@vger.kernel.org, torvalds@transmeta.com
Subject: [PATCH] s390 (4/8): uaccess bug.
Date: Thu, 12 Dec 2002 19:08:00 +0100	[thread overview]
Message-ID: <200212121908.00611.schwidefsky@de.ibm.com> (raw)

Fix return value of __put_user_asm_8.

diffstat:
 uaccess.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -urN linux-2.5.51/include/asm-s390/uaccess.h linux-2.5.51-s390/include/asm-s390/uaccess.h
--- linux-2.5.51/include/asm-s390/uaccess.h	Tue Dec 10 03:45:47 2002
+++ linux-2.5.51-s390/include/asm-s390/uaccess.h	Thu Dec 12 18:03:17 2002
@@ -84,7 +84,7 @@
 {
         int err;
 
-        __asm__ __volatile__ (  "   sr    %0,01\n"
+        __asm__ __volatile__ (  "   sr    %0,%0\n"
 				"   lr    2,%1\n"
 				"   lr    4,%2\n"
                                 "   sacf  512\n"


                 reply	other threads:[~2002-12-12 18:07 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=200212121908.00611.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