Paul Mackerras | 047ea78 | 2005-11-19 20:17:32 +1100 | [diff] [blame] | 1 | #ifndef _ASM_POWERPC_MMU_H_ |
| 2 | #define _ASM_POWERPC_MMU_H_ |
Arnd Bergmann | 88ced03 | 2005-12-16 22:43:46 +0100 | [diff] [blame] | 3 | #ifdef __KERNEL__ |
Paul Mackerras | 047ea78 | 2005-11-19 20:17:32 +1100 | [diff] [blame] | 4 | |
David Gibson | 8d2169e | 2007-04-27 11:53:52 +1000 | [diff] [blame] | 5 | #ifdef CONFIG_PPC64 |
| 6 | /* 64-bit classic hash table MMU */ |
| 7 | # include <asm/mmu-hash64.h> |
David Gibson | 4db68bf | 2007-06-13 14:52:54 +1000 | [diff] [blame] | 8 | #elif defined(CONFIG_PPC_STD_MMU) |
| 9 | /* 32-bit classic hash table MMU */ |
| 10 | # include <asm/mmu-hash32.h> |
David Gibson | 57d7909 | 2007-04-30 14:06:25 +1000 | [diff] [blame] | 11 | #elif defined(CONFIG_44x) |
| 12 | /* 44x-style software loaded TLB */ |
| 13 | # include <asm/mmu-44x.h> |
Paul Mackerras | 047ea78 | 2005-11-19 20:17:32 +1100 | [diff] [blame] | 14 | #else |
David Gibson | 57d7909 | 2007-04-30 14:06:25 +1000 | [diff] [blame] | 15 | /* Other 32-bit. FIXME: split up the other 32-bit MMU types, and |
| 16 | * revise for arch/powerpc */ |
David Gibson | 8d2169e | 2007-04-27 11:53:52 +1000 | [diff] [blame] | 17 | # include <asm-ppc/mmu.h> |
David Gibson | 1f8d419 | 2005-05-05 16:15:13 -0700 | [diff] [blame] | 18 | #endif |
David Gibson | 1f8d419 | 2005-05-05 16:15:13 -0700 | [diff] [blame] | 19 | |
Arnd Bergmann | 88ced03 | 2005-12-16 22:43:46 +0100 | [diff] [blame] | 20 | #endif /* __KERNEL__ */ |
Paul Mackerras | 047ea78 | 2005-11-19 20:17:32 +1100 | [diff] [blame] | 21 | #endif /* _ASM_POWERPC_MMU_H_ */ |