Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291790
b: refs/heads/master
c: 4e5df7c
h: refs/heads/master
v: v3
  • Loading branch information
Cong Wang authored and Cong Wang committed Mar 20, 2012
1 parent 40ab24c commit fe3d3d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 237f259ce293d95efe9ccd2bb36b7df25894eb50
refs/heads/master: 4e5df7ca3091a846b65f2a940a68506790a62d6a
4 changes: 2 additions & 2 deletions trunk/drivers/edac/edac_mc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fe3d3d6

Please sign in to comment.