]> xenbits.xensource.com Git - xen.git/commit
xen/arm: asm: Replace use of ALTERNATIVE with alternative_if
authorJulien Grall <julien.grall@arm.com>
Tue, 24 Sep 2019 12:33:44 +0000 (13:33 +0100)
committerJulien Grall <julien.grall@arm.com>
Fri, 1 Nov 2019 14:33:15 +0000 (14:33 +0000)
commitf9e10a9edcaa8d13c667b6ebfc7424b9ca58e78e
tree66fe685d162aa82b92084d90c4b37058b86eb828
parentf11fda966365db591d280ac1522993409e20fd8c
xen/arm: asm: Replace use of ALTERNATIVE with alternative_if

Using alternative_if makes the code a bit more streamlined.

Take the opportunity to use the new auto-nop infrastructure to avoid
counting the number of nop in the else part for arch/arm/arm64/entry.S

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/arm/arm32/entry.S
xen/arch/arm/arm64/entry.S