xen: Replace ASSERT(0) with ASSERT_UNREACHABLE()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 21 Jun 2017 11:36:18 +0000 (12:36 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 23 Jun 2017 14:00:37 +0000 (15:00 +0100)
commitd5bd9fe27e7cc59c084fa8c32df6716b15051b95
treeec3355f0c1b2b67c9b9c108753157d759f7636d3
parent28022c62de8452c3e1975772d6775093b07c4c8f
xen: Replace ASSERT(0) with ASSERT_UNREACHABLE()

No functional change, but the result is more informative both in the code and
error messages if the assertions do get hit.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Julien Grall <julien.gralL@arm.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/arch/arm/mm.c
xen/common/tmem_xen.c
xen/drivers/passthrough/amd/iommu_acpi.c