projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9ac829
)
ARM: Add kmap_atomic type debugging
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 11 Oct 2009 15:29:48 +0000
(16:29 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 11 Oct 2009 15:29:48 +0000
(16:29 +0100)
Seemingly this support was missed when highmem was added, so
DEBUG_HIGHMEM wouldn't have checked the kmap_atomic type.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/highmem.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mm/highmem.c
b/arch/arm/mm/highmem.c
index 73cae57fa707db6ce286e3945420c88601dd8a67..30f82fb5918c9e2a8b3cce49849ff4fd7d97c2dc 100644
(file)
--- a/
arch/arm/mm/highmem.c
+++ b/
arch/arm/mm/highmem.c
@@
-46,6
+46,8
@@
void *kmap_atomic(struct page *page, enum km_type type)
if (!PageHighMem(page))
return page_address(page);
+ debug_kmap_atomic(type);
+
kmap = kmap_high_get(page);
if (kmap)
return kmap;