]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 4504/1: nommu: Fix the ARMv6 support for MMU-less platforms
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 20 Jul 2007 10:42:57 +0000 (11:42 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 20 Jul 2007 20:29:56 +0000 (21:29 +0100)
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>
arch/arm/mm/Kconfig
include/asm-arm/pgtable-nommu.h

index cccacd9c95af3217dcc7b0f14e8a5818b847b71d..d377376d6eed2b499135e27e297a89938f3f07d2 100644 (file)
@@ -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
 
index 0c8be19fd66bff98f1ec13ef7484bfde6722c4a0..1cf14d243e82a6630a3dcebe6748ca0117f0881b 100644 (file)
@@ -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)