The last users of kmap_atomic_pfn() are in arch/arm and none of them requires the kmap_atomic semantics. Replace them with kmap_local_pfn() and remove kmap_atomic_pfn(). Thanks, tglx