projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
237f259
)
edac: remove the second argument of k[un]map_atomic()
author
Cong Wang
<amwang@redhat.com>
Fri, 25 Nov 2011 15:14:19 +0000
(23:14 +0800)
committer
Cong Wang
<xiyou.wangcong@gmail.com>
Tue, 20 Mar 2012 13:48:17 +0000
(21:48 +0800)
Signed-off-by: Cong Wang <amwang@redhat.com>
drivers/edac/edac_mc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/edac/edac_mc.c
b/drivers/edac/edac_mc.c
index ca6c04d350ee4a613be2df96e0c0100f0518fbfb..da09cd74bc5b10766da646d8d712c9eab6bd75e3 100644
(file)
--- 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);