OSDN Git Service

tcg/s390x: Change FACILITY representation
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 27 Apr 2019 23:51:09 +0000 (16:51 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 5 Oct 2021 23:53:17 +0000 (16:53 -0700)
commit748b7f3ef78654f0ed11c85ed0b34a02f97ea856
tree3410a3f8a39e5a6dfda66f23f0c7e0ae674f0102
parent3704993f545efbe7b5a9ede83525f0d9c07cb31f
tcg/s390x: Change FACILITY representation

We will shortly need to be able to check facilities beyond the
first 64.  Instead of explicitly masking against s390_facilities,
create a HAVE_FACILITY macro that indexes an array.

Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
v2: Change name to HAVE_FACILITY (david)
tcg/s390x/tcg-target.c.inc
tcg/s390x/tcg-target.h