diff options
-rw-r--r-- | arch/x86/kvm/svm.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index d017df3899ef..e93908fabf46 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c | |||
@@ -630,15 +630,12 @@ static int svm_hardware_enable(void *garbage) | |||
630 | return -EBUSY; | 630 | return -EBUSY; |
631 | 631 | ||
632 | if (!has_svm()) { | 632 | if (!has_svm()) { |
633 | printk(KERN_ERR "svm_hardware_enable: err EOPNOTSUPP on %d\n", | 633 | pr_err("%s: err EOPNOTSUPP on %d\n", __func__, me); |
634 | me); | ||
635 | return -EINVAL; | 634 | return -EINVAL; |
636 | } | 635 | } |
637 | sd = per_cpu(svm_data, me); | 636 | sd = per_cpu(svm_data, me); |
638 | |||
639 | if (!sd) { | 637 | if (!sd) { |
640 | printk(KERN_ERR "svm_hardware_enable: svm_data is NULL on %d\n", | 638 | pr_err("%s: svm_data is NULL on %d\n", __func__, me); |
641 | me); | ||
642 | return -EINVAL; | 639 | return -EINVAL; |
643 | } | 640 | } |
644 | 641 | ||