On Tue, 2012-06-26 at 22:25 +0200, Geert Uytterhoeven wrote: > > "enum km_type" and "__KM_CACHE" are still used in > arch/frv/include/asm/highmem.h: Oops! I missed __KM_* types... Fortunately, the following patch could probably fix it. Thanks! -----------------------> All callers of kmap_atomic_primary() use __KM_CACHE, so it can be removed safely, and __kmap_atomic_primary() only check if 'type' if __KM_CACHE or not, so 'type' can be changed to a boolean as well. Ditto for kunmap_atomic_primary()/__kunmap_atomic_primary().