diff options
| author | 2020-02-15 17:07:32 +0000 | |
|---|---|---|
| committer | 2021-02-03 11:00:01 +0000 | |
| commit | c8857935587c6335a1beb40bd2c5e8405c4626ae (patch) | |
| tree | b7a599c0dc60b559371740e020a55181aa29483f /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | KVM: arm64: Add handling of AArch32 PCMEID{2,3} PMUv3 registers (diff) | |
| download | linux-dev-c8857935587c6335a1beb40bd2c5e8405c4626ae.tar.xz linux-dev-c8857935587c6335a1beb40bd2c5e8405c4626ae.zip | |
KVM: arm64: Refactor filtering of ID registers
Our current ID register filtering is starting to be a mess of if()
statements, and isn't going to get any saner.
Let's turn it into a switch(), which has a chance of being more
readable, and introduce a FEATURE() macro that allows easy generation
of feature masks.
No functionnal change intended.
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
