linux-mips
[Top] [All Lists]

Re: [PATCH] 64bit unaligned access on 32bit kernel

To: akpm@osdl.org
Subject: Re: [PATCH] 64bit unaligned access on 32bit kernel
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Tue, 07 Mar 2006 11:03:14 +0900 (JST)
Cc: ralf@linux-mips.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
In-reply-to: <20060306170552.0aab29c5.akpm@osdl.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20050830104056.GA4710@linux-mips.org> <20060306.203218.69025300.nemoto@toshiba-tops.co.jp> <20060306170552.0aab29c5.akpm@osdl.org>
Sender: linux-mips-bounce@linux-mips.org
>>>>> On Mon, 6 Mar 2006 17:05:52 -0800, Andrew Morton <akpm@osdl.org> said:
>> Use __u64 instead of __typeof__(*(ptr)) for temporary variable to
>> get rid of errors on gcc 4.x.

akpm> I worry about what impact that change might have on code
akpm> generation.  Hopefully none, if gcc is good enough.

akpm> But I cannot think of a better fix.

As I tested on MIPS gcc 3.x, the impact is not none, but not so huge.
And it becomes much smaller with gcc 4.x.

---
Atsushi Nemoto
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

<Prev in Thread] Current Thread [Next in Thread>