]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: Use implementor and part defines from cputype.h
authorChristoffer Dall <c.dall@virtualopensystems.com>
Tue, 18 Dec 2012 04:06:38 +0000 (04:06 +0000)
committerWill Deacon <will.deacon@arm.com>
Fri, 11 Jan 2013 14:56:31 +0000 (14:56 +0000)
commit4d855bca7c0e3413a11370916ad11fd8ab9c5071
tree5c2dac62ec1c2704a836e1a6ef8bcb610c6872a2
parent14b2606833322e7a5af3eac35b7dd920380429ac
ARM: Use implementor and part defines from cputype.h

Instead of decoding implementor numbers, part numbers and Xscale
architecture masks inline in the pmu probing function, use defines
and accessor functions from cputype.h, which can also be shared by
other subsystems, such as KVM.

Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event_cpu.c