]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 8 Dec 2009 18:21:10 +0000 (10:21 -0800)
commit22e633d1ba54044a66de913d164987f1fa946eea
treeedfe37afe49247c9c3150c1b098215196b7fd5f7
parent8eed84d8062c4b41ac9722b6d121ccdffb508d05
powerpc: Fix DEBUG_HIGHMEM build break from d4515646699

commit e8105903d78c81119754a42926951d9d17e191ba upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/include/asm/kmap_types.h