projects
/
platform
/
kernel
/
kernel-mfld-blackbay.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
|
history
diff --git
a/arch/arm/mm/highmem.c
b/arch/arm/mm/highmem.c
index
73cae57
..
30f82fb
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;