aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/arm/arm64/head.S
diff options
context:
space:
mode:
Diffstat (limited to 'xen/arch/arm/arm64/head.S')
-rw-r--r--xen/arch/arm/arm64/head.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/arch/arm/arm64/head.S b/xen/arch/arm/arm64/head.S
index b2d44ccf4c..062645ed77 100644
--- a/xen/arch/arm/arm64/head.S
+++ b/xen/arch/arm/arm64/head.S
@@ -153,10 +153,10 @@ common_start:
* find that multiprocessor extensions are
* present and the system is SMP */
mrs x0, mpidr_el1
- tbz x0, 31, 1f /* Multiprocessor extension not supported? */
- tbnz x0, 30, 1f /* Uniprocessor system? */
+ tbz x0, _MPIDR_SMP, 1f /* Multiprocessor extension not supported? */
+ tbnz x0, _MPIDR_UP, 1f /* Uniprocessor system? */
- mov x13, #(0xff << 24)
+ mov x13, #(~MPIDR_HWID_MASK)
bic x24, x0, x13 /* Mask out flags to get CPU ID */
1: