summaryrefslogtreecommitdiffstats
path: root/virt/kvm/arm/vgic/vgic-mmio.c
diff options
context:
space:
mode:
authorChristoffer Dall <christoffer.dall@linaro.org>2017-09-08 16:07:13 +0200
committerChristoffer Dall <christoffer.dall@linaro.org>2018-01-02 10:05:45 +0100
commit5a24575032971c5a9a4580417a791c427ebdb8e5 (patch)
tree80434e98e100a2b8785128fa6462759c0953bfda /virt/kvm/arm/vgic/vgic-mmio.c
parentKVM: arm: Use PTR_ERR_OR_ZERO() (diff)
downloadlinux-5a24575032971c5a9a4580417a791c427ebdb8e5.tar.xz
linux-5a24575032971c5a9a4580417a791c427ebdb8e5.zip
KVM: arm/arm64: Remove redundant preemptible checks
The __this_cpu_read() and __this_cpu_write() functions already implement checks for the required preemption levels when using CONFIG_DEBUG_PREEMPT which gives you nice error messages and such. Therefore there is no need to explicitly check this using a BUG_ON() in the code (which we don't do for other uses of per cpu variables either). Acked-by: Marc Zyngier <marc.zyngier@arm.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic-mmio.c')
0 files changed, 0 insertions, 0 deletions