From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pranith Kumar Date: Tue, 02 Sep 2014 14:39:04 +0000 Subject: [PATCH] sh: Fix build error caused by missing dependencies Message-Id: <1409668745-31693-1-git-send-email-bobby.prani@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andrew Morton , Vivek Goyal , Magnus Damm , Simon Horman , Mark Salter , Kees Cook , Geert Uytterhoeven , AKASHI Takahiro , "Steven Rostedt (Red Hat)" , Robert Graffham , Paul Bolle , "open list:SUPERH" , open list Fix a sh4-randconfig build failure which has the following splat: arch/sh/mm/cache-sh4.c:99:17: error: 'cached_to_uncached' undeclared (first use in this function) arch/sh/mm/cache-sh4.c:192:2: error: implicit declaration of function 'cpu_context' [-Werror=implicit-function-declaration] These errors are caused by missing dependencies on UNCACHED_MAPPING and MMU. Reported-by: Geert Uytterhoeven Signed-off-by: Pranith Kumar --- arch/sh/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 244fb4c..619d5eb 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -194,6 +194,8 @@ config CPU_SH4 select SH_INTC select SYS_SUPPORTS_SH_TMU select SYS_SUPPORTS_HUGETLBFS if MMU + select UNCACHED_MAPPING + select MMU config CPU_SH4A bool -- 2.1.0