diff options
Diffstat (limited to 'virt/kvm/arm/vgic.c')
-rw-r--r-- | virt/kvm/arm/vgic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/arm/vgic.c b/virt/kvm/arm/vgic.c index 69f6e7aa573e..1c3b75eb28f0 100644 --- a/virt/kvm/arm/vgic.c +++ b/virt/kvm/arm/vgic.c | |||
@@ -2094,7 +2094,7 @@ int kvm_vgic_create(struct kvm *kvm, u32 type) | |||
2094 | 2094 | ||
2095 | mutex_lock(&kvm->lock); | 2095 | mutex_lock(&kvm->lock); |
2096 | 2096 | ||
2097 | if (kvm->arch.vgic.vctrl_base) { | 2097 | if (irqchip_in_kernel(kvm)) { |
2098 | ret = -EEXIST; | 2098 | ret = -EEXIST; |
2099 | goto out; | 2099 | goto out; |
2100 | } | 2100 | } |