ARM: perf: use u32 instead of unsigned long for PMNC register
authorWill Deacon <will.deacon@arm.com>
Tue, 19 Jul 2011 13:55:57 +0000 (14:55 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 31 Aug 2011 09:18:00 +0000 (10:18 +0100)
commit6330aae7dcd54df893813392e310141be7aa5323
treef37299feade875390787fa594097ad85f04f47fa
parent0b390e2126e03b6ec41f96fb0550b1526d00e203
ARM: perf: use u32 instead of unsigned long for PMNC register

The ARMv7 perf backend mixes up u32 and unsigned long, which is rather
ugly.

This patch makes the ARMv7 PMU code consistently use the u32 type
instead.

Acked-by: Jamie Iles <jamie@jamieiles.com>
Reviewed-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event_v7.c