kmap: fix build errors with DEBUG_HIGHMEM enabled
commitee83348407722a76b2cabc6c6628c55876fd51e3
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 18 Nov 2009 18:03:19 +0000 (18 18:03 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 8 Dec 2009 18:21:10 +0000 (8 10:21 -0800)
tree10f7b5e6c0fb56a8abe41721ed8c6a32ac1ed90e
parent22e633d1ba54044a66de913d164987f1fa946eea
kmap: fix build errors with DEBUG_HIGHMEM enabled

commit 4ff1fa278b0bd1b2dd3c42efc0cb86788ffe05d5 upstream.

d451564 broke ARM by requiring KM_IRQ_PTE, KM_NMI and KM_NMI_PTE to
always be defined.  Solve this by providing invalid definitions for
these constants, but only if CONFIG_DEBUG_HIGHMEM is enabled.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/include/asm/kmap_types.h