arm64: kernel: Correct annotation of end of el0_sync
authorMark Brown <broonie@kernel.org>
Fri, 10 Jan 2020 15:50:04 +0000 (15:50 +0000)
committerWill Deacon <will@kernel.org>
Mon, 13 Jan 2020 11:38:43 +0000 (11:38 +0000)
commit73d6890fe8ff40e357039b626537ac82d8782aeb
tree2ec9c92edf2b472de319d885082ffdea73a1401a
parentb6a5c58240be8a9521358a4efcaadaa5e3586062
arm64: kernel: Correct annotation of end of el0_sync

Commit 582f95835a8fc812c ("arm64: entry: convert el0_sync to C") caused
the ENDPROC() annotating the end of el0_sync to be placed after the code
for el0_sync_compat. This replaced the previous annotation where it was
located after all the cases that are now converted to C, including after
the currently unannotated el0_irq_compat and el0_error_compat. Move the
annotation to the end of the function and add separate annotations for
the _compat ones.

Fixes: 582f95835a8fc812c (arm64: entry: convert el0_sync to C)
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/entry.S