arm64: add read_cpuid_{implementor,part_number,mpidr}
authorMarc Zyngier <Marc.Zyngier@arm.com>
Wed, 27 Feb 2013 18:05:59 +0000 (18:05 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 20 Mar 2013 16:46:42 +0000 (16:46 +0000)
commitd9c1951f400942bbdb41e75a73d151e4a9d5469e
treee2f13c2d6a5c423ad77713fadb3b7a0898e62853
parent792072066d30372772137be9ee2f4d72d77329f9
arm64: add read_cpuid_{implementor,part_number,mpidr}

In order to preserve some kind of source compatibility between
arm and arm64, introduce read_cpuid_{implementor,part_number,mpidr}
which are used on KVM to find out which CPU we're running on.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cputype.h