]> Pileus Git - ~andy/linux/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)
commit3b953c9c159e99f5465dc05dc90ca405fe9a4436
tree5c2dac62ec1c2704a836e1a6ef8bcb610c6872a2
parent59530adc3f1b802c275f0197fc3ac72dc014267a
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