lkml.org 
[lkml]   [2011]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 13/62] edac: remove the second argument of k[un]map_atomic()
    Date

    Signed-off-by: Cong Wang <amwang@redhat.com>
    ---
    drivers/edac/edac_mc.c | 4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c
    index d69144a..08dff48 100644
    --- a/drivers/edac/edac_mc.c
    +++ b/drivers/edac/edac_mc.c
    @@ -621,13 +621,13 @@ static void edac_mc_scrub_block(unsigned long page, unsigned long offset,
    if (PageHighMem(pg))
    local_irq_save(flags);

    - virt_addr = kmap_atomic(pg, KM_BOUNCE_READ);
    + virt_addr = kmap_atomic(pg);

    /* Perform architecture specific atomic scrub operation */
    atomic_scrub(virt_addr + offset, size);

    /* Unmap and complete */
    - kunmap_atomic(virt_addr, KM_BOUNCE_READ);
    + kunmap_atomic(virt_addr);

    if (PageHighMem(pg))
    local_irq_restore(flags);
    --
    1.7.4.4


    \
     
     \ /
      Last update: 2011-11-27 06:33    [W:0.018 / U:1.892 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site