Skip to content

Commit

Permalink
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git…
Browse files Browse the repository at this point in the history
…/benh/powerpc

* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
  powerpc: Fix DEBUG_HIGHMEM build break from d451564
  • Loading branch information
Linus Torvalds committed Nov 30, 2009
2 parents a8a8454 + e810590 commit b4297b0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions arch/powerpc/include/asm/kmap_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit b4297b0

Please sign in to comment.