From: Russell King Date: Sun, 11 Oct 2009 15:29:48 +0000 (+0100) Subject: ARM: Add kmap_atomic type debugging X-Git-Tag: 2.1b_release~10636^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a5e293f1b34920c69a932ce37b4a4714a428dc7;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git ARM: Add kmap_atomic type debugging 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 --- diff --git a/arch/arm/mm/highmem.c b/arch/arm/mm/highmem.c index 73cae57..30f82fb 100644 --- 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;