lkml.org 
[lkml]   [2012]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 3/5] OpenRISC: Export memory_start and memory_end
    From
    Date

    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



    \
     
     \ /
      Last update: 2012-03-02 10:17    [W:0.020 / U:29.460 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site