diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-25 10:14:19 -0500 |
---|---|---|
committer | Cong Wang <xiyou.wangcong@gmail.com> | 2012-03-20 09:48:17 -0400 |
commit | 4e5df7ca3091a846b65f2a940a68506790a62d6a (patch) | |
tree | 91b400204416c11b24681e8281fdb5d112019bfe /drivers/edac | |
parent | 237f259ce293d95efe9ccd2bb36b7df25894eb50 (diff) |
edac: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'drivers/edac')
-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); |