arm/alternatives: Drop the !HAS_ALTERNATIVE infrastructure
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 30 Jan 2018 11:08:45 +0000 (11:08 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 1 Feb 2018 10:54:10 +0000 (10:54 +0000)
commit351a03aae2352efb5688f7af96c1f3c358d8fb4b
tree2166030deb406d0a34225f38fd2f904435aa72c7
parentf2f68439daccd7f5766d0c075a43598f626715aa
arm/alternatives: Drop the !HAS_ALTERNATIVE infrastructure

ARM now unconditionally selects HAS_ALTERNATIVE, which has caused the
!HAS_ALTERNATIVE code in include/asm-arm/alternative.h to bitrot to the point
of failing to compile.

Expand all the CONFIG_HAS_ALTERNATIVE references in ARM code.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/arch/arm/xen.lds.S
xen/include/asm-arm/alternative.h
xen/include/asm-arm/cpuerrata.h
xen/test/livepatch/xen_hello_world_func.c