]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: unify kmap_atomic_pfn() and iomap_atomic_prot_pfn(), fix
authorIngo Molnar <mingo@elte.hu>
Fri, 13 Mar 2009 02:20:49 +0000 (03:20 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 13 Mar 2009 02:24:53 +0000 (03:24 +0100)
commitdd63fdcc63f0f853b116b52e56200a0e0227cf5f
tree85cd311ae655787164c7c1247478a69bc251a147
parent12074fa1073013dd11f1cff41db018d5cff4ecd9
x86: unify kmap_atomic_pfn() and iomap_atomic_prot_pfn(), fix

Impact: build fix

Move kmap_atomic_prot_pfn() to iomap_32.c. It is used on all 32-bit
kernels, while highmem_32.c is only built on highmem kernels.

( Note: the debug_kmap_atomic_prot() check is removed for now, that
  problem is handled via another patch. )

Reported-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
LKML-Reference: <20090311143317.GA22244@localhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/highmem_32.c
arch/x86/mm/iomap_32.c