]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: kernel: enhance MPIDR macro definitions
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 15 Nov 2012 17:30:32 +0000 (17:30 +0000)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 19 Nov 2012 15:44:33 +0000 (15:44 +0000)
commit854310d2c749ee646e7a5cf4e0025ceeed355413
tree37cb674e65b14c2308898bb9a88f57edd946c906
parent28d7230bf57b8eec6f73731073910a864e140197
ARM: kernel: enhance MPIDR macro definitions

Kernel subsystems other than the topology layer need the MPIDR
mask definitions to access the MPIDR without relying on hardcoded
masks. This patch moves the MPIDR register masks definition to
a header file and defines a macro to simplify access to MPIDR bit fields
representing affinity levels.

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
arch/arm/include/asm/cputype.h
arch/arm/kernel/topology.c