]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: kernel: add MPIDR_EL1 accessors macros
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 5 Aug 2013 14:24:27 +0000 (15:24 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 16 Dec 2013 17:17:29 +0000 (17:17 +0000)
commit76b1d840c25111fbaecac3b273b58c769947b0f9
tree38452a169a846c55760530eaa2340588f95524c4
parentfec79ce97c190c86976e07ed6490ef5a2cfc3aea
arm64: kernel: add MPIDR_EL1 accessors macros

In order to simplify access to different affinity levels within the
MPIDR_EL1 register values, this patch implements some preprocessor
macros that allow to retrieve the MPIDR_EL1 affinity level value according
to the level passed as input parameter.

Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
arch/arm64/include/asm/cputype.h