[PATCH] ARM: Mark CPU_32v6K as depended on CPU_V7

Catalin Marinas catalin.marinas at arm.com
Sat Jul 10 05:02:12 EDT 2010


CPU_32v6K is selected by CPU_V7 but it only depends on CPU_V6.

Signed-off-by: Catalin Marinas <catalin.marinas at arm.com>
---

I pushed a kbuild patch to the -next tree which warns when selecting
symbols with unmet dependencies. CPU_32v6K is one of those cases
(selected by CPU_V7).

 arch/arm/mm/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
index 4e93c4a..bad0d73 100644
--- a/arch/arm/mm/Kconfig
+++ b/arch/arm/mm/Kconfig
@@ -398,7 +398,7 @@ config CPU_V6
 # ARMv6k
 config CPU_32v6K
 	bool "Support ARM V6K processor extensions" if !SMP
-	depends on CPU_V6
+	depends on CPU_V6 || CPU_V7
 	default y if SMP && !(ARCH_MX3 || ARCH_OMAP2)
 	help
 	  Say Y here if your ARMv6 processor supports the 'K' extension.




More information about the linux-arm-kernel mailing list