xen/arm: mpu: Use new-style annotations
PATCH 1/1 xen/arm: mpu: Use new-style annotations
When purging old-style annotations, MPU code was left unmodified. Fix it.
Fixes 221c66f4f2a4 ("Arm: purge ENTRY(), ENDPROC(), and ALIGN")
Signed-off-by Michal Orzel <[email protected]>
---
I found the issue when applying Luca series to be commited enabling MPU on Arm64 build. This patch is a prerequisite for it.
--- xen/arch/arm/arm64/mpu/head.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
xen/arch/arm/arm64/mpu/head.S +2 -2
@@ -158,11 +158,11 @@ END(enable_boot_cpu_mm) * We don't yet support secondary CPUs bring-up. Implement a dummy helper to * please the common code. */ -ENTRY(enable_secondary_cpu_mm) +FUNC(enable_secondary_cpu_mm) PRINT("- SMP not enabled yet -\r\n") 1: wfe b 1b -ENDPROC(enable_secondary_cpu_mm) +END(enable_secondary_cpu_mm) /* * Local variables:
Signature · 1 line
2.25.1
Hi Michal,
Quoted 5 lines · Michal Orzel
When purging old-style annotations, MPU code was left unmodified. Fix it.
Fixes 221c66f4f2a4 ("Arm: purge ENTRY(), ENDPROC(), and ALIGN")Signed-off-by Michal Orzel <[email protected]>
Acked-by Julien Grall <[email protected]>
Cheers,
Signature · 1 line
Julien Grall
Quoted 5 lines · Michal Orzel
When purging old-style annotations, MPU code was left unmodified. Fix it.
Fixes 221c66f4f2a4 ("Arm: purge ENTRY(), ENDPROC(), and ALIGN")Signed-off-by Michal Orzel <[email protected]>
Reviewed-by Jan Beulich <[email protected]>
I'm sorry for the oversight. I had meant to do a last-minute grep before committing that patch, but then forgot. A tiny bit to my excuse: The introduction of MPU post-dates the common-ized assembly annotations by quite a bit. It should have used new-style annotations from the very beginning imo.
Jan