ARMv7: Check whether the SMP/nAMP mode was already enabled
authorTony Thompson <Anthony.Thompson@arm.com>
Wed, 4 Nov 2009 12:16:38 +0000 (12:16 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 4 Nov 2009 12:19:22 +0000 (12:19 +0000)
commit1b3a02eb452354fa9b36a7f33dc4c8307bbc40aa
tree232eab4b30cda81c310864e0dc18b57c431f33dd
parentb419148e567728f6af0c3b01965c1cc141e3e13a
ARMv7: Check whether the SMP/nAMP mode was already enabled

If running in non-secure mode, enabling this register will fault.

Signed-off-by: Tony Thompson <Anthony.Thompson@arm.com>
Acked-by: Srinidhi Kasagar <srinidhikasagar@gmail.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/mm/proc-v7.S