[PATCH] OMAP3: pmu: make CPU_HAS_PMU dependent on OMAP3_EMU

Will Deacon will.deacon at arm.com
Wed Jun 16 08:33:22 EDT 2010


Jean,

> > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> > index 1f254bd..98922f7 100644
> > --- a/arch/arm/Kconfig
> > +++ b/arch/arm/Kconfig
> > @@ -955,7 +955,8 @@ config XSCALE_PMU
> >        default y
> >
> >  config CPU_HAS_PMU
> > -       depends on CPU_V6 || CPU_V7 || XSCALE_PMU
> > +       depends on (CPU_V6 || CPU_V7 || XSCALE_PMU) && \
> > +                  (!ARCH_OMAP3 || OMAP3_EMU)
> >        default y
> >        bool
> >
> > --
> > 1.6.3.3
> >
> >
> 
> The patch nicely fixes the issue. Tested with Oprofile on OMAP3530
> EVM. RETention and OFF power modes succesfully tested.
> 
> Acked-by: Jean Pihet <jpihet at mvista.com>

Brilliant - thanks for testing this.
Tony: would you mind picking this patch up please or would
you prefer that I posted it to Russell's patch system?

Thanks,

Will





More information about the linux-arm-kernel mailing list