commit | 4e3c1944808b0278ea4733afcde5cb9421f8a570 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Sun Dec 02 17:44:36 2012 +0000 |
committer | Will Deacon <will.deacon@arm.com> | Thu Jan 10 21:09:32 2013 +0000 |
tree | 4e2e78617620b6c0d252dbff98eeaa811e3c0fab | |
parent | 8e9c24a2b2e00368262b974d6ea1ac5310570bbe [diff] |
ARM: virt: use PSR_N_BIT for detecting boot CPU mode mismatch During boot, we detect whether or not all CPUs are brought up in the same mode and signal this to the kernel using the N bit in the SPSR. This patch tidies up the checking code to use the PSR_N_BIT macro, rather than hardcoding the bit field and commenting it as such. Signed-off-by: Will Deacon <will.deacon@arm.com>