]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
edac: remove the second argument of k[un]map_atomic()
authorCong Wang <amwang@redhat.com>
Fri, 25 Nov 2011 15:14:19 +0000 (23:14 +0800)
committerCong Wang <amwang@redhat.com>
Fri, 2 Dec 2011 03:12:49 +0000 (11:12 +0800)
drivers/edac/edac_mc.c

index d69144a090435cbfdd5d883e231475e649c666d8..08dff488f98ded05e0c5df36f3e0010ca3b838b8 100644 (file)
@@ -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);