linux-edac.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 13/60] edac: remove the second argument of k[un]map_atomic()
       [not found] <1328852421-19678-1-git-send-email-amwang@redhat.com>
@ 2012-02-10  5:39 ` Cong Wang
  0 siblings, 0 replies; only message in thread
From: Cong Wang @ 2012-02-10  5:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andrew Morton, Cong Wang, Doug Thompson, bluesmoke-devel

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 ca6c04d..da09cd7 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,
 	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.7.6

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-10  5:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1328852421-19678-1-git-send-email-amwang@redhat.com>
2012-02-10  5:39 ` [PATCH 13/60] edac: remove the second argument of k[un]map_atomic() Cong Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).