[PATCH] arch/arm: Fix missing define for ARM_PMU_DEVICE_CPU

Jamie Iles jamie.iles at picochip.com
Thu Apr 29 04:12:18 EDT 2010


On Thu, Apr 29, 2010 at 02:31:03AM +0200, Peter Huewe wrote:
> From: Peter Huewe <peterhuewe at gmx.de>
> 
> This patch adds a define for ARM_PMU_DEVICE_CPU which seemed to be
> missing/undefined and caused some build failures [1-4].
> 
> I defined ARM_PMU_DEVICE_CPU = -1 as stated in
> Documentation/driver_model/platform.txt to indicate there is only one.
> I'm _not_ sure if this is correct, but due to the static nature of the
> define I assume it is.
Hi Peter,

This build error is due to the core patch of Will's "ARM: pmu: provide a
registration mechanism for IRQs" patch series not being merged yet. I'm not
sure what the status of that patch is at the moment though.

Jamie



More information about the linux-arm-kernel mailing list