[PATCH] ARM: Add ARCH_HAS_L2X0 and make CACHE_L2X0 config depend on that

Ben Dooks ben-linux at fluff.org
Sun Jun 13 01:16:26 EDT 2010


On Fri, Jun 11, 2010 at 10:58:07AM -0700, Daniel Walker wrote:
> On Fri, 2010-06-11 at 11:03 -0500, Olof Johansson wrote:
> 
> > diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
> > index 346ae14..419b957 100644
> > --- a/arch/arm/mm/Kconfig
> > +++ b/arch/arm/mm/Kconfig
> > @@ -759,11 +759,13 @@ config CACHE_FEROCEON_L2_WRITETHROUGH
> >  	  Say Y here to use the Feroceon L2 cache in writethrough mode.
> >  	  Unless you specifically require this, say N for writeback mode.
> >  
> > +config ARCH_HAS_L2X0
> > +	bool
> > +	default n
> > +
> 
> I made a similar change not too long ago, but Russell wanted the define
> to be HAVE_CACHE_L2X0 ..

possibly, I was thinking ARM_L2X0 would also be an option, since if I
remeber correctly it is selecting the driver not the availability of
it.

-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.




More information about the linux-arm-kernel mailing list