x86: unify kmap_atomic_pfn() and iomap_atomic_prot_pfn()
commitbb6d59ca927d855ffac567b35c0a790c67016103
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 11 Mar 2009 14:33:18 +0000 (11 23:33 +0900)
committerIngo Molnar <mingo@elte.hu>
Wed, 11 Mar 2009 14:47:46 +0000 (11 15:47 +0100)
treecbfa2c1b8fd85c1ed93d077625a2e15b5b8a8ea9
parent78b020d035074fc3aa4d017353bb2c32e2aff56f
x86: unify kmap_atomic_pfn() and iomap_atomic_prot_pfn()

kmap_atomic_pfn() and iomap_atomic_prot_pfn() are almost same
except pgprot. This patch removes the code duplication for these
two functions.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
LKML-Reference: <20090311143317.GA22244@localhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/highmem.h
arch/x86/mm/highmem_32.c
arch/x86/mm/iomap_32.c