diff options
Diffstat (limited to 'drivers/edac/edac_mc.c')
-rw-r--r-- | 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 ca6c04d350ee..da09cd74bc5b 100644 --- a/drivers/edac/edac_mc.c +++ b/drivers/edac/edac_mc.c | |||
@@ -620,13 +620,13 @@ static void edac_mc_scrub_block(unsigned long page, unsigned long offset, | |||
620 | if (PageHighMem(pg)) | 620 | if (PageHighMem(pg)) |
621 | local_irq_save(flags); | 621 | local_irq_save(flags); |
622 | 622 | ||
623 | virt_addr = kmap_atomic(pg, KM_BOUNCE_READ); | 623 | virt_addr = kmap_atomic(pg); |
624 | 624 | ||
625 | /* Perform architecture specific atomic scrub operation */ | 625 | /* Perform architecture specific atomic scrub operation */ |
626 | atomic_scrub(virt_addr + offset, size); | 626 | atomic_scrub(virt_addr + offset, size); |
627 | 627 | ||
628 | /* Unmap and complete */ | 628 | /* Unmap and complete */ |
629 | kunmap_atomic(virt_addr, KM_BOUNCE_READ); | 629 | kunmap_atomic(virt_addr); |
630 | 630 | ||
631 | if (PageHighMem(pg)) | 631 | if (PageHighMem(pg)) |
632 | local_irq_restore(flags); | 632 | local_irq_restore(flags); |