author | Becky Bruce
<beckyb@kernel.crashing.org> 2009-11-23 12:28:53 UTC |
committer | Benjamin Herrenschmidt
<benh@kernel.crashing.org> 2009-11-30 22:33:45 UTC |
parent | a8a8a669ea13d792296737505adc43ccacf3a648 |
arch/powerpc/include/asm/kmap_types.h | +11 | -0 |
diff --git a/arch/powerpc/include/asm/kmap_types.h b/arch/powerpc/include/asm/kmap_types.h index b6bac6f61c1..916369575c9 100644 --- a/arch/powerpc/include/asm/kmap_types.h +++ b/arch/powerpc/include/asm/kmap_types.h @@ -29,5 +29,16 @@ enum km_type { KM_TYPE_NR }; +/* + * This is a temporary build fix that (so they say on lkml....) should no longer + * be required after 2.6.33, because of changes planned to the kmap code. + * Let's try to remove this cruft then. + */ +#ifdef CONFIG_DEBUG_HIGHMEM +#define KM_NMI (-1) +#define KM_NMI_PTE (-1) +#define KM_IRQ_PTE (-1) +#endif + #endif /* __KERNEL__ */ #endif /* _ASM_POWERPC_KMAP_TYPES_H */