All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randolph Chung <randolph@tausq.org>
To: jsoe0708@tiscali.be
Cc: parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] Re: uaccess ya patch
Date: Tue, 26 Nov 2002 08:29:38 -0800	[thread overview]
Message-ID: <20021126162938.GX21187@tausq.org> (raw)
In-Reply-To: <3DAAAD46000048D6@ocpmta1.be.tiscali.com>

> Much more for info, here is another way I found to implement __put_?_asm64.

Joel, the __*_bad stuff is fine, but why do you want to rewrite the
asm64 functions as macros? you are also not doing it correctly:

> +#define __put_user_asm64(x, ptr)		\
> +	__asm__ __volatile__ (			\
> +		"\n1:\tstw\t%2,0(%%sr3,%1)\n"	\
> +		"2:\tstw\t%R2,4(%%sr3,%1)\n"	\
                  ^^^ this will cause very bad things to happen.

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/

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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-26 10:05 [parisc-linux] uaccess ya patch jsoe0708
2002-11-26 16:29 ` Randolph Chung [this message]
2002-11-26 17:02   ` [parisc-linux] " jsoe0708
2002-11-26 17:22     ` Randolph Chung
2002-11-26 17:31       ` John David Anglin
2002-11-26 18:44         ` Randolph Chung
2002-11-26 18:56           ` John David Anglin

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=20021126162938.GX21187@tausq.org \
    --to=randolph@tausq.org \
    --cc=jsoe0708@tiscali.be \
    --cc=parisc-linux@lists.parisc-linux.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.