Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4e3c1944 authored by Will Deacon's avatar Will Deacon
Browse files

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: default avatarWill Deacon <will.deacon@arm.com>
parent 8e9c24a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment