Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200289
b: refs/heads/master
c: 17ebba1
h: refs/heads/master
i:
  200287: a26154b
v: v3
  • Loading branch information
Nicolas Pitre authored and Russell King committed Jun 8, 2010
1 parent da3ad2f commit 6e91959
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 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: b394eebdd3d436f1796e53b97799554c5aa77431
refs/heads/master: 17ebba1fe4da4b5d62782be8743e0e8231812af9
11 changes: 10 additions & 1 deletion trunk/arch/arm/mm/highmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,16 @@ void *kmap_atomic(struct page *page, enum km_type type)

debug_kmap_atomic(type);

kmap = kmap_high_get(page);
#ifdef CONFIG_DEBUG_HIGHMEM
/*
* There is no cache coherency issue when non VIVT, so force the
* dedicated kmap usage for better debugging purposes in that case.
*/
if (!cache_is_vivt())
kmap = NULL;
else
#endif
kmap = kmap_high_get(page);
if (kmap)
return kmap;

Expand Down

0 comments on commit 6e91959

Please sign in to comment.