| To: | Stuart Anderson <anderson@netsweng.com> |
|---|---|
| Subject: | Re: linux kernel building for mips malta target board |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Thu, 3 Nov 2005 16:33:06 +0000 |
| Cc: | David Daney <ddaney@avtrex.com>, crossgcc@sources.redhat.com, MIPS Linux List <linux-mips@linux-mips.org> |
| In-reply-to: | <Pine.LNX.4.61.0511022057140.3511@trantor.stuart.netsweng.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> <Pine.LNX.4.61.0511022057140.3511@trantor.stuart.netsweng.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.4.2.1i |
> 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. It's correct - but triggers plenty of extra warnings and you forgot about get_user() which has the same kind of issue. Also you don't have the guarantee that <linux/types.h> has been included, so in order to avoid a yet another header file dependency I changed s8, s16 etc. to char, short, int, long long. Working on it but as usual uaccess.h is quite a quiz. Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] remove mips_rtc_lock, Ralf Baechle |
|---|---|
| Next by Date: | Re: 2.6.14 on Au1550 panics in free_hot_cold_page from init, Ralf Baechle |
| Previous by Thread: | Re: linux kernel building for mips malta target board, Stuart Anderson |
| Next by Thread: | 2.6.14 on Au1550 panics in free_hot_cold_page from init, Clem Taylor |
| Indexes: | [Date] [Thread] [Top] [All Lists] |