diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2015-06-08 16:21:32 +0200 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2015-08-12 12:28:24 +0200 |
commit | 32d2d8010cd7080a0f1712f1084b92657858428e (patch) | |
tree | 660faf292f21198a8bde11f78c5f8129bce6436c /net/irda/irlap_event.c | |
parent | arm/arm64: KVM: Move vgic handling to a non-preemptible section (diff) | |
download | linux-32d2d8010cd7080a0f1712f1084b92657858428e.tar.xz linux-32d2d8010cd7080a0f1712f1084b92657858428e.zip |
KVM: arm/arm64: vgic: Convert struct vgic_lr to use bitfields
As we're about to cram more information in the vgic_lr structure
(HW interrupt number and additional state information), we switch
to a layout similar to the HW's:
- use bitfields to save space (we don't need more than 10 bits
to represent the irq numbers)
- source CPU and HW interrupt can share the same field, as
a SGI doesn't have a physical line.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'net/irda/irlap_event.c')
0 files changed, 0 insertions, 0 deletions