diff options
author | Jia He <hejianet@gmail.com> | 2018-08-03 16:57:03 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-08-12 14:14:08 +0300 |
commit | dc961e5395dde279b77e2cdbdcc99560b89bdfd9 (patch) | |
tree | 6b9f31fca0eb172d0324ab05dfdf86b405dde116 /virt/kvm/arm/vgic/vgic.c | |
parent | 3e8a8a50c7ef1a4f71921731f0e1748a7f70ddaa (diff) | |
download | linux-dc961e5395dde279b77e2cdbdcc99560b89bdfd9.tar.xz |
KVM: arm/arm64: vgic: Move DEBUG_SPINLOCK_BUG_ON to vgic.h
DEBUG_SPINLOCK_BUG_ON can be used with both vgic-v2 and vgic-v3,
so let's move it to vgic.h
Signed-off-by: Jia He <jia.he@hxt-semitech.com>
[maz: commit message tidy-up]
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic.c')
-rw-r--r-- | virt/kvm/arm/vgic/vgic.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/virt/kvm/arm/vgic/vgic.c b/virt/kvm/arm/vgic/vgic.c index 33c8325c8f35..c22cea678a66 100644 --- a/virt/kvm/arm/vgic/vgic.c +++ b/virt/kvm/arm/vgic/vgic.c @@ -28,12 +28,6 @@ #define CREATE_TRACE_POINTS #include "trace.h" -#ifdef CONFIG_DEBUG_SPINLOCK -#define DEBUG_SPINLOCK_BUG_ON(p) BUG_ON(p) -#else -#define DEBUG_SPINLOCK_BUG_ON(p) -#endif - struct vgic_global kvm_vgic_global_state __ro_after_init = { .gicv3_cpuif = STATIC_KEY_FALSE_INIT, }; |