From: Cong Wang Date: Fri, 25 Nov 2011 15:14:19 +0000 (+0800) Subject: edac: remove the second argument of k[un]map_atomic() X-Git-Tag: next-20111205~3^2~49 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b322e607f10e3c2a9207778f89314b394de5565a;p=karo-tx-linux.git edac: remove the second argument of k[un]map_atomic() --- diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index d69144a09043..08dff488f98d 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);