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> |
Josh Boyer | 4d922c8 | 2007-08-20 07:28:48 -0500 | [diff] [blame] | 11 | #elif defined(CONFIG_40x) |
| 12 | /* 40x-style software loaded TLB */ |
| 13 | # include <asm/mmu-40x.h> |
David Gibson | 57d7909 | 2007-04-30 14:06:25 +1000 | [diff] [blame] | 14 | #elif defined(CONFIG_44x) |
| 15 | /* 44x-style software loaded TLB */ |
| 16 | # include <asm/mmu-44x.h> |
David Gibson | 67f74c9 | 2007-06-15 15:33:09 +1000 | [diff] [blame] | 17 | #elif defined(CONFIG_FSL_BOOKE) |
| 18 | /* Freescale Book-E software loaded TLB */ |
| 19 | # include <asm/mmu-fsl-booke.h> |
David Gibson | 3120234 | 2007-06-22 14:58:55 +1000 | [diff] [blame] | 20 | #elif defined (CONFIG_PPC_8xx) |
| 21 | /* Motorola/Freescale 8xx software loaded TLB */ |
| 22 | # include <asm/mmu-8xx.h> |
David Gibson | 1f8d419 | 2005-05-05 16:15:13 -0700 | [diff] [blame] | 23 | #endif |
David Gibson | 1f8d419 | 2005-05-05 16:15:13 -0700 | [diff] [blame] | 24 | |
Arnd Bergmann | 88ced03 | 2005-12-16 22:43:46 +0100 | [diff] [blame] | 25 | #endif /* __KERNEL__ */ |
Paul Mackerras | 047ea78 | 2005-11-19 20:17:32 +1100 | [diff] [blame] | 26 | #endif /* _ASM_POWERPC_MMU_H_ */ |