frv: remove the second parameter of kmap_atomic_primary()
authorCong Wang <amwang@redhat.com>
Wed, 27 Jun 2012 05:02:49 +0000 (13:02 +0800)
committerCong Wang <amwang@redhat.com>
Mon, 23 Jul 2012 06:11:22 +0000 (14:11 +0800)
commit144cf8647a831c96bce9c947671467d088d89d16
tree0c13deab46514cf82d2409ecf5c85684dc917e26
parent906adea1536fe476c1068d86df01f8b130cde105
frv: remove the second parameter of kmap_atomic_primary()

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().

Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Cong Wang <amwang@redhat.com>
arch/frv/include/asm/highmem.h
arch/frv/mb93090-mb00/pci-dma.c
arch/frv/mm/cache-page.c
arch/frv/mm/highmem.c