Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343506
b: refs/heads/master
c: 1f5b77f
h: refs/heads/master
v: v3
  • Loading branch information
Borislav Petkov authored and Avi Kivity committed Oct 22, 2012
1 parent bf74d2f commit f009aee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bf4ca23ef597a440ca46c695d8711ec0b387f12c
refs/heads/master: 1f5b77f51a221f5eb10af08da9067fba360dc52f
7 changes: 2 additions & 5 deletions trunk/arch/x86/kvm/svm.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,15 +630,12 @@ static int svm_hardware_enable(void *garbage)
return -EBUSY;

if (!has_svm()) {
printk(KERN_ERR "svm_hardware_enable: err EOPNOTSUPP on %d\n",
me);
pr_err("%s: err EOPNOTSUPP on %d\n", __func__, me);
return -EINVAL;
}
sd = per_cpu(svm_data, me);

if (!sd) {
printk(KERN_ERR "svm_hardware_enable: svm_data is NULL on %d\n",
me);
pr_err("%s: svm_data is NULL on %d\n", __func__, me);
return -EINVAL;
}

Expand Down

0 comments on commit f009aee

Please sign in to comment.