Skip to content

Commit

Permalink
ARM: Add kmap_atomic type debugging
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King committed Oct 11, 2009
1 parent e9ac829 commit 6a5e293
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mm/highmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6a5e293

Please sign in to comment.