diff options
| author | Catalin Marinas <catalin.marinas@arm.com> | 2007-07-20 06:42:57 -0400 |
|---|---|---|
| committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-07-20 16:29:56 -0400 |
| commit | 7b4c965a0b74748269d05185a394c9dc121dd558 (patch) | |
| tree | 403dbbb02f53a2191e04abc1123067753e1471ef | |
| parent | 2a0cc6885f34a8f1de195f718b9f51ece6923b80 (diff) | |
[ARM] 4504/1: nommu: Fix the ARMv6 support for MMU-less platforms
With this patch, Kconfig only selects CPU_HAS_ASID for the MMU
case. It also corrects the typo in the v6wbi_tlb_fns definition in
pgtable-nommu.h.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
| -rw-r--r-- | arch/arm/mm/Kconfig | 2 | ||||
| -rw-r--r-- | include/asm-arm/pgtable-nommu.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index cccacd9c95af..d377376d6eed 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig | |||
| @@ -351,7 +351,7 @@ config CPU_V6 | |||
| 351 | select CPU_CACHE_V6 | 351 | select CPU_CACHE_V6 |
| 352 | select CPU_CACHE_VIPT | 352 | select CPU_CACHE_VIPT |
| 353 | select CPU_CP15_MMU | 353 | select CPU_CP15_MMU |
| 354 | select CPU_HAS_ASID | 354 | select CPU_HAS_ASID if MMU |
| 355 | select CPU_COPY_V6 if MMU | 355 | select CPU_COPY_V6 if MMU |
| 356 | select CPU_TLB_V6 if MMU | 356 | select CPU_TLB_V6 if MMU |
| 357 | 357 | ||
diff --git a/include/asm-arm/pgtable-nommu.h b/include/asm-arm/pgtable-nommu.h index 0c8be19fd66b..1cf14d243e82 100644 --- a/include/asm-arm/pgtable-nommu.h +++ b/include/asm-arm/pgtable-nommu.h | |||
| @@ -102,7 +102,7 @@ extern int is_in_rom(unsigned long); | |||
| 102 | #define v4_tlb_fns (0) | 102 | #define v4_tlb_fns (0) |
| 103 | #define v4wb_tlb_fns (0) | 103 | #define v4wb_tlb_fns (0) |
| 104 | #define v4wbi_tlb_fns (0) | 104 | #define v4wbi_tlb_fns (0) |
| 105 | #define v6_tlb_fns (0) | 105 | #define v6wbi_tlb_fns (0) |
| 106 | 106 | ||
| 107 | #define v3_user_fns (0) | 107 | #define v3_user_fns (0) |
| 108 | #define v4_user_fns (0) | 108 | #define v4_user_fns (0) |
