Skip to content

Commit

Permalink
[ARM] 4504/1: nommu: Fix the ARMv6 support for MMU-less platforms
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Catalin Marinas authored and Russell King committed Jul 20, 2007
1 parent 2a0cc68 commit 7b4c965
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ config CPU_V6
select CPU_CACHE_V6
select CPU_CACHE_VIPT
select CPU_CP15_MMU
select CPU_HAS_ASID
select CPU_HAS_ASID if MMU
select CPU_COPY_V6 if MMU
select CPU_TLB_V6 if MMU

Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/pgtable-nommu.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ extern int is_in_rom(unsigned long);
#define v4_tlb_fns (0)
#define v4wb_tlb_fns (0)
#define v4wbi_tlb_fns (0)
#define v6_tlb_fns (0)
#define v6wbi_tlb_fns (0)

#define v3_user_fns (0)
#define v4_user_fns (0)
Expand Down

0 comments on commit 7b4c965

Please sign in to comment.