target/ppc: books: Remove excp_model argument from ppc_excp_apply_ail
commit10895ab6f76beaf2d2b5b450167c5d5102c8c3af
authorFabiano Rosas <farosas@linux.ibm.com>
Wed, 9 Feb 2022 08:08:56 +0000 (9 09:08 +0100)
committerCédric Le Goater <clg@kaod.org>
Wed, 9 Feb 2022 08:08:56 +0000 (9 09:08 +0100)
tree1f44caeec0a1df7285f69ef62ee091ebf43d2a2c
parentfce9fbafe910822be093abfbf5fa259d5931aa66
target/ppc: books: Remove excp_model argument from ppc_excp_apply_ail

We don't really need to check for exception model while applying
AIL. We can check the lpcr_mask for the presence of
LPCR_AIL/LPCR_HAIL.

This removes one more instance of passing the exception model ID
around.

Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Message-Id: <20220207183036.1507882-5-farosas@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
target/ppc/excp_helper.c