| To: | David Daney <ddaney@avtrex.com> |
|---|---|
| Subject: | Re: linux kernel building for mips malta target board |
| From: | Stuart Anderson <anderson@netsweng.com> |
| Date: | Wed, 2 Nov 2005 21:20:35 -0500 (EST) |
| Cc: | crossgcc@sources.redhat.com, MIPS Linux List <linux-mips@linux-mips.org> |
| In-reply-to: | <436965B7.3000606@avtrex.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <E1EXLJV-0005R4-K3@real.realitydiluted.com> <43695DB4.7060708@avtrex.com> <Pine.LNX.4.61.0511022000410.3511@trantor.stuart.netsweng.com> <436965B7.3000606@avtrex.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
On Wed, 2 Nov 2005, David Daney wrote: __get_user() is unhappy, with tpyes that are "const". It uses __typeof() to create a local variable that it wants to write to. I've intended tohave offer up a patch by now, but, too many unexpected thing have happened in the firs thalf of this week.
I shamed myself into sitting down and doing this. 8-)
The attached patch seems to work, or at least doesn't seem to cause
things to blow up. An o32 userspace on a 64-bit kernel comes up
multi-user and can build a kernel, and run a quick subset of LTP.
There was a comment on IRC that there was a register allocation issue which
lead to the current code. I'm not sure of the exact details, but I _think_
this change ends up being equivilent to the code it replaces.
Stuart
Stuart R. Anderson anderson@netsweng.com
Network & Software Engineering http://www.netsweng.com/
1024D/37A79149: 0791 D3B8 9A4C 2CDC A31F
BD03 0A62 E534 37A7 9149
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | 2.6.14 on Au1550 panics in free_hot_cold_page from init, Clem Taylor |
|---|---|
| Next by Date: | Re: [PATCH] remove mips_rtc_lock, Ralf Baechle |
| Previous by Thread: | Re: linux kernel building for mips malta target board, David Daney |
| Next by Thread: | Re: linux kernel building for mips malta target board, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |