diff options
author | Zachary Amsden <zamsden@redhat.com> | 2009-09-29 17:38:36 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-12-03 02:32:13 -0500 |
commit | e6732a5af9dfcc87078706a1598df0efe5010f73 (patch) | |
tree | d3a68c03f6042f68f1de282939d21bf33cbf9619 /arch/x86 | |
parent | 0cca790753bf0cab4b070801a46df8e1297c17f6 (diff) |
KVM: Fix printk name error in svm.c
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kvm/svm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 9a4dacab6d8a..d1036ce8917e 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c | |||
@@ -330,13 +330,14 @@ static int svm_hardware_enable(void *garbage) | |||
330 | return -EBUSY; | 330 | return -EBUSY; |
331 | 331 | ||
332 | if (!has_svm()) { | 332 | if (!has_svm()) { |
333 | printk(KERN_ERR "svm_cpu_init: err EOPNOTSUPP on %d\n", me); | 333 | printk(KERN_ERR "svm_hardware_enable: err EOPNOTSUPP on %d\n", |
334 | me); | ||
334 | return -EINVAL; | 335 | return -EINVAL; |
335 | } | 336 | } |
336 | svm_data = per_cpu(svm_data, me); | 337 | svm_data = per_cpu(svm_data, me); |
337 | 338 | ||
338 | if (!svm_data) { | 339 | if (!svm_data) { |
339 | printk(KERN_ERR "svm_cpu_init: svm_data is NULL on %d\n", | 340 | printk(KERN_ERR "svm_hardware_enable: svm_data is NULL on %d\n", |
340 | me); | 341 | me); |
341 | return -EINVAL; | 342 | return -EINVAL; |
342 | } | 343 | } |