Subject: Re: nommu build failures on ARM in linux-next

From: Russell King - ARM Linux <[email-masked]>
Date: Thu, 29 May 2014 19:55:34 +0100

On Thu, May 29, 2014 at 12:53:51PM -0400, Paul Gortmaker wrote:
> Hi Russell,
> 
> The allnoconfig builds in linux-next fail because __clear_cr
> lives in mmu.c without any stub or similar in nommu.c
> 
> Introduced by:
> 
> commit 247e4fff3aa927ad069447e6da05bb966b70dece
> Author: Russell King <[email-masked]>
> Date:   Sun Apr 13 18:57:29 2014 +0100
> 
>     ARM: provide common method to clear bits in CPU control register
>     
> Sample failure:
>   http://kisskb.ellerman.id.au/kisskb/buildresult/11264405/

ALIGNMENT_TRAP depends on CPU_CP15_MMU, so it's quite reasonable that
__clear_cr should exist in this case - but it doesn't because it's in
mmu.c.  I guess we need __clear_cr moved to arch/arm/kernel/setup.c.

-- 
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
improving, and getting towards what was expected from it.