Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276409
b: refs/heads/master
c: 2cd1c8d
h: refs/heads/master
i:
  276407: 88956fc
v: v3
  • Loading branch information
Konrad Rzeszutek Wilk authored and Ingo Molnar committed Dec 5, 2011
1 parent 4744fab commit 4ecc0df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f1b23714cb578c88ea051768bf26b459e1264411
refs/heads/master: 2cd1c8d4dc7ecca9e9431e2dabe41ae9c7d89e51
2 changes: 2 additions & 0 deletions trunk/arch/x86/mm/highmem_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ void *kmap_atomic_prot(struct page *page, pgprot_t prot)
vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx);
BUG_ON(!pte_none(*(kmap_pte-idx)));
set_pte(kmap_pte-idx, mk_pte(page, prot));
arch_flush_lazy_mmu_mode();

return (void *)vaddr;
}
Expand Down Expand Up @@ -88,6 +89,7 @@ void __kunmap_atomic(void *kvaddr)
*/
kpte_clear_flush(kmap_pte-idx, vaddr);
kmap_atomic_idx_pop();
arch_flush_lazy_mmu_mode();
}
#ifdef CONFIG_DEBUG_HIGHMEM
else {
Expand Down

0 comments on commit 4ecc0df

Please sign in to comment.