powerpc: Fix DEBUG_HIGHMEM build break from d4515646699
authorBecky Bruce <beckyb@kernel.crashing.org>
Mon, 23 Nov 2009 12:28:53 +0000 (12:28 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Nov 2009 06:00:25 +0000 (17:00 +1100)
commit2d7cf3ef879b22bdfd271aa3b66733c53279e813
tree885f2a9e976498a946a98e226a732b07795ef4c6
parent7c31629fd60037c5eb2b8fd0e6def9fe097fa28e
powerpc: Fix DEBUG_HIGHMEM build break from d4515646699

Code was added to mm/higmem.c that depends on several
kmap types that powerpc does not support.  We add dummy
invalid definitions for KM_NMI, KM_NM_PTE, and KM_IRQ_PTE.

According to list discussion, this fix should not be needed
anymore starting with 2.6.33.  The code is commented to this
effect so hopefully we will remember to remove this.

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/kmap_types.h