Re: [PATCH 3/5] OpenRISC: Export memory_start and memory_end

From: Jonas Bonn
Date: Fri Mar 02 2012 - 04:14:24 EST



On Fri, 2012-03-02 at 09:48 +0100, Richard Weinberger wrote:
> Am 02.03.2012 07:51, schrieb Jonas Bonn:
> > On Fri, 2012-03-02 at 01:55 +0100, Richard Weinberger wrote:
> >> At least virt_addr_valid() makes use of memory_end.
> >
> > virt_addr_valid looks broken... it shouldn't be comparing a virtual
> > address against memory_end which is phys_addr_t.
>
> Then it's time to implement it correctly and match OpenRISC's
> semantics.
>

Give this a try...

http://git.openrisc.net/cgit.cgi/jonas/linux/commit/?id=30fbeb350cd26dc87477b9cadf0bfe132dcf5119

/Jonas

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