Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Joel Soete <soete.joel@tiscali.be>
To: Randolph Chung <randolph@tausq.org>
Cc: John David Anglin <dave@hiauly1.hia.nrc.ca>,
	parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] Re: Comments?
Date: Sun, 13 Mar 2005 12:22:13 +0000	[thread overview]
Message-ID: <42343075.4030308@tiscali.be> (raw)
In-Reply-To: <20050313011921.GB28289@tausq.org>



Randolph Chung wrote:
...
> Is this the right thing to do? Do we need something similar for
> get_user()?
> 
would you mean something like:
--- include/asm-parisc/uaccess.h.orig   2005-02-26 13:23:35.000000000 +0100
+++ include/asm-parisc/uaccess.h        2005-03-13 13:20:11.000000000 +0100
@@ -102,8 +102,9 @@
             }                                           \
         }                                               \
                                                         \
-       (x) = (__typeof__(*(ptr))) __gu_val;            \
-       __gu_err;                                       \
+        __typeof__(*(ptr)) __x = (__typeof__(*(ptr))) __gu_val;        \
+       (x) = (__typeof__((x))) (__x);                          \
+       __gu_err;                                               \
  })

  #ifdef __LP64__
====><====

> Tested on 32-bit and 64-bit (thanks Kyle!)
> 
Thanks,
	Joel
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

  parent reply	other threads:[~2005-03-13 12:22 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-02 19:21 [parisc-linux] Comments? Carlos O'Donell
2005-03-02 19:41 ` [parisc-linux] Comments? John David Anglin
2005-03-02 21:37   ` Carlos O'Donell
2005-03-02 22:38     ` John David Anglin
2005-03-03  2:45       ` Carlos O'Donell
2005-03-03  3:21         ` John David Anglin
2005-03-05 19:46           ` Carlos O'Donell
2005-03-05 20:33             ` John David Anglin
2005-03-08 17:47               ` Carlos O'Donell
2005-03-12 23:37               ` John David Anglin
2005-03-13  1:19                 ` Randolph Chung
2005-03-13  2:39                   ` John David Anglin
2005-03-13 12:22                   ` Joel Soete [this message]
2005-03-13 16:21                   ` John David Anglin
2005-03-14 13:28                     ` Randolph Chung
2005-03-22  2:25                       ` John David Anglin
2005-03-23 17:29                         ` Matthew Wilcox
2005-03-23 20:53                           ` John David Anglin
2005-03-23 21:07                             ` John David Anglin
     [not found] <no.id>
2005-03-05 21:53 ` John David Anglin
2005-03-06  0:22   ` John David Anglin
2005-03-08 17:32     ` Carlos O'Donell
2005-03-08 17:44       ` John David Anglin
2005-03-08 17:54         ` Carlos O'Donell
2005-03-08 19:02           ` 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=42343075.4030308@tiscali.be \
    --to=soete.joel@tiscali.be \
    --cc=dave@hiauly1.hia.nrc.ca \
    --cc=parisc-linux@lists.parisc-linux.org \
    --cc=randolph@tausq.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox