aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/kvm/vmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index 4d255493a57e..a534e6fe8184 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -1932,7 +1932,7 @@ static int (*kvm_vmx_exit_handlers[])(struct kvm_vcpu *vcpu,
1932}; 1932};
1933 1933
1934static const int kvm_vmx_max_exit_handlers = 1934static const int kvm_vmx_max_exit_handlers =
1935 sizeof(kvm_vmx_exit_handlers) / sizeof(*kvm_vmx_exit_handlers); 1935 ARRAY_SIZE(kvm_vmx_exit_handlers);
1936 1936
1937/* 1937/*
1938 * The guest has exited. See if we can fix it or if we need userspace 1938 * The guest has exited. See if we can fix it or if we need userspace