summaryrefslogtreecommitdiffstats
path: root/virt/kvm/arm/vgic/vgic-kvm-device.c
diff options
context:
space:
mode:
authorVladimir Murzin2016-11-02 12:55:33 +0100
committerMarc Zyngier2016-11-14 11:32:24 +0100
commite29bd6f26703088930a5b3595623cf155ddea600 (patch)
treeea18441c085351d80204aef5a32d14df92fe7c41 /virt/kvm/arm/vgic/vgic-kvm-device.c
parentLinux 4.9-rc5 (diff)
downloadkernel-qcow2-linux-e29bd6f26703088930a5b3595623cf155ddea600.tar.gz
kernel-qcow2-linux-e29bd6f26703088930a5b3595623cf155ddea600.tar.xz
kernel-qcow2-linux-e29bd6f26703088930a5b3595623cf155ddea600.zip
KVM: arm64: vgic-its: Fix compatibility with 32-bit
Evaluate GITS_BASER_ENTRY_SIZE once as an int data (GITS_BASER<n>'s Entry Size is 5-bit wide only), so when used as divider no reference to __aeabi_uldivmod is generated when build for AArch32. Use unsigned long long for GITS_BASER_PAGE_SIZE_* since they are used in conjunction with 64-bit data. Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic-kvm-device.c')
0 files changed, 0 insertions, 0 deletions