ppc/xics: allow ICSState to have an offset 0
commit72c1e5a66affc2ae69342a4081361f69e1f686b6
authorCédric Le Goater <clg@kaod.org>
Wed, 2 Jan 2019 05:57:41 +0000 (2 06:57 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 8 Jan 2019 22:28:14 +0000 (9 09:28 +1100)
tree3a856b0bf360d1bef7acfe00f1e3866450e21d31
parent872ff3dea3be974405709c4a96fccea65884835a
ppc/xics: allow ICSState to have an offset 0

commit 15ed653fa49a ("ppc/xics: An ICS with offset 0 is assumed to be
uninitialized") introduced an extra check on the ICS offset which is
not strictly necessary.

Revert the change to be able to map the XICS IRQ number space on the
XIVE IRQ number space.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
include/hw/ppc/xics.h