Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a5e293f authored by Russell King's avatar Russell King
Browse files

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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent e9ac8291
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;