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

Richard Weinberger
2012-03-02T08:48:37Z

[-- Attachment #1: Type: text/plain, Size: 390 bytes --]

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.

Thanks,
//richard

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]